github.com/kerryoscer/gqlgen@v0.17.29/integration/schema-expected.graphql (about)

     1  """This directive does magical things"""
     2  directive @magic(kind: Int) on FIELD_DEFINITION
     3  
     4  enum DATE_FILTER_OP {
     5    EQ
     6    GT
     7    GTE
     8    LT
     9    LTE
    10    NEQ
    11  }
    12  
    13  input DateFilter {
    14    op: DATE_FILTER_OP = EQ
    15    timezone: String = "UTC"
    16    value: String!
    17  }
    18  
    19  type Element {
    20    child: Element!
    21    error: Boolean!
    22    mismatched: [Boolean!]
    23  }
    24  
    25  enum ErrorType {
    26    CUSTOM
    27    NORMAL
    28  }
    29  
    30  input ListCoercion {
    31    enumVal: [ErrorType]
    32    intVal: [Int]
    33    scalarVal: [Map]
    34    strVal: [String]
    35  }
    36  
    37  scalar Map
    38  
    39  type Query {
    40    coercion(value: [ListCoercion!]): Boolean!
    41    complexity(value: Int!): Boolean!
    42    date(filter: DateFilter!): Boolean!
    43    error(type: ErrorType = NORMAL): Boolean!
    44    jsonEncoding: String!
    45    path: [Element]
    46    viewer: Viewer
    47  }
    48  
    49  type RemoteModelWithOmitempty {
    50    newDesc: String
    51  }
    52  
    53  type User {
    54    likes: [String!]!
    55    name: String!
    56  }
    57  
    58  type Viewer {
    59    user: User
    60  }