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
Is your feature request related to a problem? Please describe.
Currently stitchingDirectivesValidator doesn't allow to use @merge directive without keyArg argument if resolver takes 0 arguments.
Describe the solution you'd like
Allow using @merge directive without keyArg argument if resolver takes 0 arguments
Additional context
Allow such use-case will be helpful for situations when there is a global object with fields resolved by different subschemas. An example of such use-case could be some global Stats Object which has different stat fields that are resolved by different subschemas, so there is nothing to pass to the merge resolver
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently
stitchingDirectivesValidator
doesn't allow to use@merge
directive withoutkeyArg
argument if resolver takes 0 arguments.Describe the solution you'd like
Allow using
@merge
directive withoutkeyArg
argument if resolver takes 0 argumentsAdditional context
Allow such use-case will be helpful for situations when there is a global object with fields resolved by different subschemas. An example of such use-case could be some global Stats Object which has different stat fields that are resolved by different subschemas, so there is nothing to pass to the merge resolver
The text was updated successfully, but these errors were encountered: