github.com/vetcher/gqlgen@v0.6.0/codegen/testserver/schema.graphql (about)

     1  type Query {
     2      invalidIdentifier: InvalidIdentifier
     3      collision: It
     4      mapInput(input: Changes): Boolean
     5      recursive(input: RecursiveInputSlice): Boolean
     6      nestedInputs(input: [[OuterInput]] = [[{inner: {id: 1}}]]): Boolean
     7      nestedOutputs: [[OuterObject]]
     8      keywords(input: Keywords): Boolean!
     9      shapes: [Shape]
    10      errorBubble: Error
    11      valid: String!
    12      user(id: Int!): User!
    13      nullableArg(arg: Int = 123): String
    14  }
    15  
    16  type Subscription {
    17      updated: String!
    18      initPayload: String!
    19  }
    20  
    21  type User {
    22      id: Int!
    23      friends: [User!]!
    24  }
    25  
    26  type Error {
    27      id: ID!
    28      errorOnNonRequiredField: String
    29      errorOnRequiredField: String!
    30      nilOnRequiredField: String!
    31  }
    32  
    33  type InvalidIdentifier {
    34      id: Int!
    35  }
    36  
    37  type It {
    38      id: ID!
    39  }
    40  
    41  input Changes {
    42      a: Int
    43      b: Int
    44  }
    45  
    46  input RecursiveInputSlice {
    47      self: [RecursiveInputSlice!]
    48  }
    49  
    50  input InnerInput {
    51      id:Int!
    52  }
    53  
    54  input OuterInput {
    55      inner: InnerInput!
    56  }
    57  
    58  type OuterObject {
    59      inner: InnerObject!
    60  }
    61  
    62  type InnerObject {
    63      id: Int!
    64  }
    65  
    66  input Keywords {
    67      break:       String!
    68      default:     String!
    69      func:        String!
    70      interface:   String!
    71      select:      String!
    72      case:        String!
    73      defer:       String!
    74      go:          String!
    75      map:         String!
    76      struct:      String!
    77      chan:        String!
    78      else:        String!
    79      goto:        String!
    80      package:     String!
    81      switch:      String!
    82      const:       String!
    83      fallthrough: String!
    84      if:          String!
    85      range:       String!
    86      type:        String!
    87      continue:    String!
    88      for:         String!
    89      import:      String!
    90      return:      String!
    91      var:         String!
    92  }
    93  
    94  extend type Query {
    95      keywordArgs(
    96          break:       String!,
    97          default:     String!,
    98          func:        String!,
    99          interface:   String!,
   100          select:      String!,
   101          case:        String!,
   102          defer:       String!,
   103          go:          String!,
   104          map:         String!,
   105          struct:      String!,
   106          chan:        String!,
   107          else:        String!,
   108          goto:        String!,
   109          package:     String!,
   110          switch:      String!,
   111          const:       String!,
   112          fallthrough: String!,
   113          if:          String!,
   114          range:       String!,
   115          type:        String!,
   116          continue:    String!,
   117          for:         String!,
   118          import:      String!,
   119          return:      String!,
   120          var:         String!,
   121      ): Boolean!
   122  }
   123  
   124  interface Shape {
   125      area: Float
   126  }
   127  type Circle implements Shape {
   128      radius: Float
   129      area: Float
   130  }
   131  type Rectangle implements Shape {
   132      length: Float
   133      width: Float
   134      area: Float
   135  }
   136  union ShapeUnion = Circle | Rectangle
   137  
   138  type ForcedResolver {
   139      field: Circle
   140  }
   141  
   142  type EmbeddedPointer {
   143      ID: String
   144      Title: String
   145  }