[Proposal] Force-Resolver Directive #2166
Panakotta00
started this conversation in
Ideas
Replies: 1 comment
-
This already exists as a directive- |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I find it a bit frustrating when working on nested models that you have to constantly change the graphql config
to force the usage of a resolver for a given field.
In my case most fields have to be resolved anyway.
Force Resolve Opt-In is not the matter,
what I find annyoing is that i have to change the config to enforce the usage of a resolver.
To me this information should be in the schema file.
For this i propose a "forceResolver" directive.
Imagine following schmea:
For the
inner
field of theOuter
type to be resolved using a resolver i would have to addMy feature request would ba
forceResolver
directive:That removes the necessety to add information of the schematic to the config, which should be in my opinion sepperated.
Beta Was this translation helpful? Give feedback.
All reactions