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
For this query:
query { queryCharacter { ... on Human { name n: name } } }
The selection set returned by collectFields contains only the field name. It doesn't contain the aliased field n: name.
collectFields
name
n: name
I expect the selection set returned by collectFields to contain both name and the aliased field n: name.
interface Character { id: ID! name: String! } type Human implements Character { totalCredits: Float }
gqlgen version
go version
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What happened?
For this query:
The selection set returned by
collectFields
contains only the fieldname
. It doesn't contain the aliased fieldn: name
.What did you expect?
I expect the selection set returned by
collectFields
to contain bothname
and the aliased fieldn: name
.Minimal graphql.schema and models to reproduce
versions
gqlgen version
? v0.12.2go version
? go1.14 linux/amd64The text was updated successfully, but these errors were encountered: