You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an interface with few types implementing it. Override generated models fields name with goField directive. Notice that getters generated by gqlgen don't use goField directive to access fields inside getters.
What happened?
Create an interface with few types implementing it. Override generated models fields name with goField directive. Notice that getters generated by gqlgen don't use goField directive to access fields inside getters.
What did you expect?
Getters should use correct field names.
Minimal graphql.schema and models to reproduce
Schema:
Generated getter functions:
versions
go run github.com/99designs/gqlgen version
? v0.17.20go version
? go version go1.19.3 darwin/arm64The text was updated successfully, but these errors were encountered: