Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add ability to set operation names on Query/Mutate. #8
AFAIK, there is currently no way to add an Operation Name to queries.
Added two api methods:
This is a backward compatible change, although you could argue that operation name should be a first class citizen on the
My use case: the GraphQL server I'm calling internally logs performance metrics by operation name (new relic); without operation name, everything is logged under the generic GraphQL endpoint.…
On Dec 30, 2017 11:58 AM, "Dmitri Shuralyov" ***@***.***> wrote: Thanks for the PR. Can you please explain why it might be useful to have the ability to set the operation name in the context of graphql? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#8 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA1CVjZ83nMDpQ-UHtMGDYj_I6vmU7MJks5tFmu6gaJpZM4ROkQj> .