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
I wanted gqlgen to skip creating a resolver for a specific field, in this case, to skip creating a resolver for the "permissions" field. Can gqlgen accomplish this?
I added "resolver: false" to the gqlgen.yml configuration file, but it didn't work as expected. This feature seems to only force gqlgen to generate a resolver, not skip it.
What happened?
I wanted gqlgen to skip creating a resolver for a specific field, in this case, to skip creating a resolver for the "permissions" field. Can gqlgen accomplish this?
I added "resolver: false" to the gqlgen.yml configuration file, but it didn't work as expected. This feature seems to only force gqlgen to generate a resolver, not skip it.
What did you expect?
When I ran the generate command, I expected gqlgen to skip creating the following resolver:
versions
go run github.com/99designs/gqlgen version
? v0.17.40go version
? 1.21.6The text was updated successfully, but these errors were encountered: