Skip to content

Commit 5394dcd

Browse files
committed
extend introspection schema to include oneOf and specifiedByURL
1 parent 9b91a7f commit 5394dcd

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

graphql_client_cli/src/graphql/introspection_query.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ fragment FullType on __Type {
2727
kind
2828
name
2929
description
30+
isOneOf
3031
fields(includeDeprecated: true) {
3132
name
3233
description

graphql_client_cli/src/graphql/introspection_schema.graphql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ type __Type {
3636

3737
# NON_NULL and LIST only
3838
ofType: __Type
39+
40+
# may be non-null for custom SCALAR, otherwise null.
41+
specifiedByURL: String
42+
43+
# should be non-null for INPUT_OBJECT only
44+
isOneOf: Boolean
3945
}
4046

4147
type __Field {

0 commit comments

Comments
 (0)