Skip to content

Commit 3296698

Browse files
committed
Update introspection test for new introspection query.
1 parent fbe693f commit 3296698

File tree

2 files changed

+527
-466
lines changed

2 files changed

+527
-466
lines changed
Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,65 @@
11
introspection_query = '''
2-
query IntrospectionQuery {
3-
__schema {
4-
queryType { name }
5-
mutationType { name }
6-
types {
7-
...FullType
8-
}
9-
directives {
10-
name
11-
description
12-
args {
13-
...InputValue
14-
}
15-
onOperation
16-
onFragment
17-
onField
18-
}
2+
query IntrospectionQuery {
3+
__schema {
4+
queryType { name }
5+
mutationType { name }
6+
types {
7+
...FullType
198
}
20-
}
21-
fragment FullType on __Type {
22-
kind
23-
name
24-
description
25-
fields {
9+
directives {
2610
name
2711
description
2812
args {
2913
...InputValue
3014
}
31-
type {
32-
...TypeRef
33-
}
34-
isDeprecated
35-
deprecationReason
15+
onOperation
16+
onFragment
17+
onField
3618
}
37-
inputFields {
19+
}
20+
}
21+
fragment FullType on __Type {
22+
kind
23+
name
24+
description
25+
fields {
26+
name
27+
description
28+
args {
3829
...InputValue
3930
}
40-
interfaces {
41-
...TypeRef
42-
}
43-
enumValues {
44-
name
45-
description
46-
isDeprecated
47-
deprecationReason
48-
}
49-
possibleTypes {
31+
type {
5032
...TypeRef
5133
}
34+
isDeprecated
35+
deprecationReason
36+
}
37+
inputFields {
38+
...InputValue
5239
}
53-
fragment InputValue on __InputValue {
40+
interfaces {
41+
...TypeRef
42+
}
43+
enumValues {
5444
name
5545
description
56-
type { ...TypeRef }
57-
defaultValue
46+
isDeprecated
47+
deprecationReason
48+
}
49+
possibleTypes {
50+
...TypeRef
5851
}
59-
fragment TypeRef on __Type {
52+
}
53+
fragment InputValue on __InputValue {
54+
name
55+
description
56+
type { ...TypeRef }
57+
defaultValue
58+
}
59+
fragment TypeRef on __Type {
60+
kind
61+
name
62+
ofType {
6063
kind
6164
name
6265
ofType {
@@ -65,11 +68,8 @@
6568
ofType {
6669
kind
6770
name
68-
ofType {
69-
kind
70-
name
71-
}
7271
}
7372
}
7473
}
74+
}
7575
'''

0 commit comments

Comments
 (0)