JetBrains / js-graphql-intellij-plugin

GraphQL language support for WebStorm, IntelliJ IDEA and other IDEs based on the IntelliJ Platform.
https://jimkyndemeyer.github.io/js-graphql-intellij-plugin/
MIT License
879 stars 97 forks source link

operationName for Apollo Federation Gateway #595

Open SammoMichael opened 2 years ago

SammoMichael commented 2 years ago

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 commented 2 years ago

PR: https://github.com/jimkyndemeyer/js-graphql-intellij-plugin/pulls