github.com/mstephano/gqlgen-schemagen@v0.0.0-20230113041936-dd2cd4ea46aa/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 DummyUserWithRemoteNamedBasics { 20 newBool: Boolean! 21 newFloat64: Float! 22 newID: ID! 23 newInt: Int! 24 newInt32: Int! 25 newInt64: Int! 26 newString: String! 27 newUint: Uint! 28 } 29 30 type Element { 31 child: Element! 32 error: Boolean! 33 mismatched: [Boolean!] 34 } 35 36 enum ErrorType { 37 CUSTOM 38 NORMAL 39 } 40 41 input ListCoercion { 42 enumVal: [ErrorType] 43 intVal: [Int] 44 scalarVal: [Map] 45 strVal: [String] 46 } 47 48 scalar Map 49 50 type Query { 51 coercion(value: [ListCoercion!]): Boolean! 52 complexity(value: Int!): Boolean! 53 date(filter: DateFilter!): Boolean! 54 error(type: ErrorType = NORMAL): Boolean! 55 jsonEncoding: String! 56 path: [Element] 57 viewer: Viewer 58 } 59 60 type RemoteModelWithOmitempty { 61 newDesc: String 62 } 63 64 scalar Uint 65 66 type User { 67 likes: [String!]! 68 name: String! 69 } 70 71 type Viewer { 72 user: User 73 }