Skip to content

operationName for Apollo Federation Gateway #595

New issue

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

Open
SammoMichael opened this issue Feb 10, 2022 · 1 comment
Open

operationName for Apollo Federation Gateway #595

SammoMichael opened this issue Feb 10, 2022 · 1 comment

Comments

@SammoMichael
Copy link

Migrating to a new Federated Apollo GraphQL Service, and all operations are required to apply an "operationName": "SomethingQuery" or is deemed a forbidden operation, so introspection and testing queries is not working against it.

Is there currently a way to configure the requests to look like this in the GraphQL Plugin Client?

--data-raw '{"operationName":"IntrospectionQuery","variables":{},"query":"query IntrospectionQuery {

SammoMichael pushed a commit to SammoMichael/js-graphql-intellij-plugin that referenced this issue Feb 10, 2022
Added operationName key to dynamically add query, mutation, or subscription name to data object or anonymous in unnamed

next is to make the key editable to user/opt-in
@SammoMichael
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant