github.com/mstephano/gqlgen-schemagen@v0.0.0-20230113041936-dd2cd4ea46aa/codegen/testserver/singlefile/issue896.graphql (about)

     1  # This example should build stable output. If the file content starts
     2  # alternating nondeterministically between two outputs, then see
     3  # https://github.com/mstephano/gqlgen-schemagen/issues/896.
     4  
     5  extend schema {
     6      query: Query
     7      subscription: Subscription
     8  }
     9  
    10  type CheckIssue896 {
    11      id: Int
    12  }
    13  
    14  extend type Query {
    15      issue896a: [CheckIssue896!] # Note the "!" or lack thereof.
    16  }
    17  
    18  extend type Subscription {
    19      issue896b: [CheckIssue896] # Note the "!" or lack thereof.
    20  }