-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatibility with graphql 16.9.0 #2049
Comments
Normally, I'd say that this should be implemented using custom directives (also see managing custom directives. Current the |
https://github.com/graphql/graphql-js/releases/tag/v16.9.0 I guess all node based packages lean on graphql-js as source of truth maybe there has been no rust update of that. So having different source of truths may cause such problems. |
Wait I was saying is, for JS ppl it is a build in directive while for RS ppl it might not be |
I'm not disputing any of that. All I'm saying is that rover isn't involved at all in the parsing or composition of the graphql, and that the issue will be more likely to be resolved if you open it in the project where this feature needs to be implemented. (and also that you can extend it in schema until it is natively supported, since your server and client side libraries already support it.) |
Hi, thanks for raising this, we're working on supporting this in both the |
Description
@oneOf
is not recognized as a known directive by roverSteps to reproduce
try to compose a supergraph with a
@oneOf
directive in use without declaring the directiveExpected result
@oneOf
should be known as an internal directive of graphqlActual result
error[E029]: Encountered X build errors while trying to build a supergraph
Caused by:
UNKNOWN: [...] Unknown directive
"@oneOf"
Environment
Run
rover info
and paste the results hereversion: 0.25.0
OS: Windows 10
Shell: PowerShell
The text was updated successfully, but these errors were encountered: