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