github.com/operandinc/gqlgen@v0.16.1/integration/schema-expected.graphql (about) 1 # source: http://localhost:8080/query 2 # timestamp: Mon Dec 06 2021 17:56:42 GMT+0000 (Greenwich Mean Time) 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 input ListCoercion { 34 enumVal: [ErrorType] 35 strVal: [String] 36 intVal: [Int] 37 scalarVal: [Map] 38 } 39 40 scalar Map 41 42 type Query { 43 path: [Element] 44 date(filter: DateFilter!): Boolean! 45 viewer: Viewer 46 jsonEncoding: String! 47 error(type: ErrorType = NORMAL): Boolean! 48 complexity(value: Int!): Boolean! 49 coercion(value: [ListCoercion!]): Boolean! 50 } 51 52 type User { 53 name: String! 54 likes: [String!]! 55 } 56 57 type Viewer { 58 user: User 59 }