Disabling field alias #2261
danielcondemarin
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey 👋 Thanks for your work on this library.
I wanted to confirm my approach to disable aliases is correct. I was looking to implement something like https://github.com/ivandotv/graphql-no-alias in gqlgen & came up with this directive,
Would you say this is a good approach? Relying on
opCtx.Operation.SelectionSet
seems to work well.Beta Was this translation helpful? Give feedback.
All reactions