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
The omit_resolver_fields option that introduced by #2957 does not respect models.<model>.fields.<field>.resolver option, only schema directives are respected.
The models.<model>.fields.<field>.resolver option marks the field to be resolved with explit resolvers, so the omit_resolver_fields should respect also this option.
What happened?
The
omit_resolver_fields
option that introduced by #2957 does not respectmodels.<model>.fields.<field>.resolver
option, only schema directives are respected.gqlgen.yml
schema.graphql
What did you expect?
The
models.<model>.fields.<field>.resolver
option marks the field to be resolved with explit resolvers, so theomit_resolver_fields
should respect also this option.Minimal graphql.schema and models to reproduce
versions
go run github.com/99designs/gqlgen version
?v0.17.45-dev
go version
?go version go1.22.0 linux/amd64
The text was updated successfully, but these errors were encountered: