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
While using another tool to generate the schema, I found out that the relay compiler errors whenever there's a string description above the topmost schema declaration.
"Description of the schema"schema {
query: RootQueryTypemutation: RootMutationType
}
yields
ERROR:
Syntax Error: Expected "schema", found String "Description of the schema"
error Command failed with exit code 100.
After digging around for a bit, I found out that there has been a spec update to graphql which incorporates the ability to add descriptions at this level. Am I right to assume that relay is still catching up to it? https://github.com/graphql/graphql-spec/pull/466/files
The text was updated successfully, but these errors were encountered:
From what I can tell, this was added to graphql-js Feb 2nd and they have not yet cut a release that includes it. I have confirmed that this parses without error in the new Rust compiler.
If graphql-js cuts a new release with this change, and it's within the v15 range, you should be able to resolve this by upgrading your version of graphql-js since Relay expects it as a peer dependency.
While using another tool to generate the schema, I found out that the relay compiler errors whenever there's a string description above the topmost schema declaration.
yields
After digging around for a bit, I found out that there has been a spec update to graphql which incorporates the ability to add descriptions at this level. Am I right to assume that relay is still catching up to it?
https://github.com/graphql/graphql-spec/pull/466/files
The text was updated successfully, but these errors were encountered: