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
gql query
{ add_numbers: add(a: 1, b: 2) }
extension
impl Extension for TracingExtension { async fn resolve( &self, ctx: &ExtensionContext<'_>, info: ResolveInfo<'_>, next: NextResolve<'_>, ) -> ServerResult<Option<Value>> { let name = info.path_node.field_name(); next.run(ctx, info).await } }
I should be able to access the query name as "add" AND "add_numbers"
I can only access the field_name as "add_numbers"
The text was updated successfully, but these errors were encountered:
Allows to get the actual field name and alias in ResolveInfo. #551
ResolveInfo
1b173b7
Released in v2.9.5
v2.9.5
Sorry, something went wrong.
No branches or pull requests
Code example
gql query
extension
Expected Behavior
I should be able to access the query name as "add" AND "add_numbers"
Actual Behavior
I can only access the field_name as "add_numbers"
The text was updated successfully, but these errors were encountered: