...

Text file src/github.com/99designs/gqlgen/integration/server/schema/schema.graphql

Documentation: github.com/99designs/gqlgen/integration/server/schema

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

View as plain text