We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the selections parsing, we recognize introspection fields using the __ prefix:
__
router/apollo-router/src/spec/selection.rs
Lines 88 to 111 in 440b59b
But it is not enough for introspection queries. With the following query:
query { __schema { queryType { name } } }
We would recognize __schema, but then queryType is unknown because we do not know the fields of the __Schema type.
__schema
queryType
__Schema
To fix that, the schema object should carry by default the introspection object types
The text was updated successfully, but these errors were encountered:
We need to support these types https://spec.graphql.org/October2021/#sec-Schema-Introspection.Schema-Introspection-Schema
Sorry, something went wrong.
Geal
Successfully merging a pull request may close this issue.
In the selections parsing, we recognize introspection fields using the
__
prefix:router/apollo-router/src/spec/selection.rs
Lines 88 to 111 in 440b59b
But it is not enough for introspection queries. With the following query:
We would recognize
__schema
, but thenqueryType
is unknown because we do not know the fields of the__Schema
type.To fix that, the schema object should carry by default the introspection object types
The text was updated successfully, but these errors were encountered: