Bug report
I'm trying to make a query with introspection using python's gql.client (fetch_schema_from_transport=True), but I returns an error because the intronspection queries don't respect the GraphQL schema.
This is the query being generated by gql.client:
query IntrospectionQuery {
__schema {
queryType {
name
}
mutationType {
name
}
subscriptionType {
name
}
types {
...FullType
}
directives {
name
description
locations
args(includeDeprecated: true) {
...InputValue
}
}
}
}
fragment FullType on __Type {
kind
name
description
fields(includeDeprecated: true) {
name
description
args(includeDeprecated: true) {
...InputValue
}
type {
...TypeRef
}
isDeprecated
deprecationReason
}
inputFields(includeDeprecated: true) {
...InputValue
}
interfaces {
...TypeRef
}
enumValues(includeDeprecated: true) {
name
description
isDeprecated
deprecationReason
}
possibleTypes {
...TypeRef
}
}
fragment InputValue on __InputValue {
name
description
type {
...TypeRef
}
defaultValue
isDeprecated
deprecationReason
}
fragment TypeRef on __Type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
}
}
}
}
And I'm getting this response
{"data":null,"errors":[{"message":"Null value resolved for non-null field `isDeprecated`"},{"message":"Null value resolved for non-null field `isDeprecated`"}, ...
Relevant log output
IPFS hash
No response
Subgraph name or link to explorer
No response
Some information to help us out
OS information
Linux
Bug report
I'm trying to make a query with introspection using python's gql.client (fetch_schema_from_transport=True), but I returns an error because the intronspection queries don't respect the GraphQL schema.
This is the query being generated by gql.client:
And I'm getting this response
{"data":null,"errors":[{"message":"Null value resolved for non-null field `isDeprecated`"},{"message":"Null value resolved for non-null field `isDeprecated`"}, ...Relevant log output
IPFS hash
No response
Subgraph name or link to explorer
No response
Some information to help us out
OS information
Linux