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