github.com/99designs/gqlgen@v0.17.45/integration/src/generated/schema-expected.graphql (about) 1 """ 2 The @defer directive may be specified on a fragment spread to imply de-prioritization, that causes the fragment to be omitted in the initial response, and delivered as a subsequent response afterward. A query with @defer directive will cause the request to potentially return multiple responses, where non-deferred data is delivered in the initial response and data deferred delivered in a subsequent response. @include and @skip take precedence over @defer. 3 """ 4 directive @defer(if: Boolean = true, label: String) on FRAGMENT_SPREAD | INLINE_FRAGMENT 5 6 """This directive does magical things""" 7 directive @magic(kind: Int) on FIELD_DEFINITION 8 9 enum DATE_FILTER_OP { 10 EQ 11 GT 12 GTE 13 LT 14 LTE 15 NEQ 16 } 17 18 input DateFilter { 19 op: DATE_FILTER_OP = EQ 20 timezone: String = "UTC" 21 value: String! 22 } 23 24 type Element { 25 child: Element! 26 error: Boolean! 27 mismatched: [Boolean!] 28 } 29 30 enum ErrorType { 31 CUSTOM 32 NORMAL 33 } 34 35 input ListCoercion { 36 enumVal: [ErrorType] 37 intVal: [Int] 38 scalarVal: [Map] 39 strVal: [String] 40 } 41 42 scalar Map 43 44 type Query { 45 coercion(value: [ListCoercion!]): Boolean! 46 complexity(value: Int!): Boolean! 47 date(filter: DateFilter!): Boolean! 48 error(type: ErrorType = NORMAL): Boolean! 49 jsonEncoding: String! 50 path: [Element] 51 viewer: Viewer 52 } 53 54 type RemoteModelWithOmitempty { 55 newDesc: String 56 } 57 58 type User { 59 likes: [String!]! 60 name: String! 61 phoneNumber: String @deprecated 62 query: Query! 63 } 64 65 type Viewer { 66 user: User 67 }