git.sr.ht/~sircmpwn/gqlgen@v0.0.0-20200522192042-c84d29a1c940/integration/schema-expected.graphql (about)

     1  # source: http://localhost:8080/query
     2  # timestamp: Thu Aug 23 2018 10:30:37 GMT+1000 (AEST)
     3  
     4  """This directive does magical things"""
     5  directive @magic(kind: Int) on FIELD_DEFINITION
     6  
     7  enum DATE_FILTER_OP {
     8    EQ
     9    NEQ
    10    GT
    11    GTE
    12    LT
    13    LTE
    14  }
    15  
    16  input DateFilter {
    17    value: String!
    18    timezone: String = "UTC"
    19    op: DATE_FILTER_OP = EQ
    20  }
    21  
    22  type Element {
    23    child: Element!
    24    error: Boolean!
    25    mismatched: [Boolean!]
    26  }
    27  
    28  enum ErrorType {
    29    CUSTOM
    30    NORMAL
    31  }
    32  
    33  type Query {
    34    path: [Element]
    35    date(filter: DateFilter!): Boolean!
    36    viewer: Viewer
    37    jsonEncoding: String!
    38    error(type: ErrorType = NORMAL): Boolean!
    39    complexity(value: Int!): Boolean!
    40  }
    41  
    42  type User {
    43    name: String!
    44    likes: [String!]!
    45  }
    46  
    47  type Viewer {
    48    user: User
    49  }