Skip to content
This repository was archived by the owner on Dec 10, 2023. It is now read-only.

Commit 98c7219

Browse files
committed
fix: Fix library example using grapql-js v14.0.x
see graphql/graphql-js#1429
1 parent 4d74db2 commit 98c7219

6 files changed

+1555
-178
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
query IntrospectionQuery {
2+
__schema {
3+
queryType {
4+
name
5+
}
6+
mutationType {
7+
name
8+
}
9+
subscriptionType {
10+
name
11+
}
12+
types {
13+
...FullType
14+
}
15+
directives {
16+
name
17+
description
18+
args {
19+
...InputValue
20+
}
21+
onOperation
22+
onFragment
23+
onField
24+
}
25+
}
26+
}
27+
28+
fragment FullType on __Type {
29+
kind
30+
name
31+
description
32+
fields(includeDeprecated: true) {
33+
name
34+
description
35+
args {
36+
...InputValue
37+
}
38+
type {
39+
...TypeRef
40+
}
41+
isDeprecated
42+
deprecationReason
43+
}
44+
inputFields {
45+
...InputValue
46+
}
47+
interfaces {
48+
...TypeRef
49+
}
50+
enumValues(includeDeprecated: true) {
51+
name
52+
description
53+
isDeprecated
54+
deprecationReason
55+
}
56+
possibleTypes {
57+
...TypeRef
58+
}
59+
}
60+
61+
fragment InputValue on __InputValue {
62+
name
63+
description
64+
type {
65+
...TypeRef
66+
}
67+
defaultValue
68+
}
69+
70+
fragment TypeRef on __Type {
71+
kind
72+
name
73+
ofType {
74+
kind
75+
name
76+
ofType {
77+
kind
78+
name
79+
ofType {
80+
kind
81+
name
82+
}
83+
}
84+
}
85+
}
86+

examples/library/graphql/IntrospectionQuery.graphql

+1-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ query IntrospectionQuery {
1818
args {
1919
...InputValue
2020
}
21-
onOperation
22-
onFragment
23-
onField
21+
locations
2422
}
2523
}
2624
}

0 commit comments

Comments
 (0)