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
This is due to a change in the SDL spec that was implemented in graphql-js v0.13. While graphql-js can technically accept an option to enable legacy parsing, it is not exposed in relay-compiler.
Given the following schema:
Relay compiler would throw a syntax error
Unexpected name Invitable
, however, if I replace the,
with&
the schema would compile:Same issue can also be found here: https://stackoverflow.com/questions/49198778/relay-compiler-cannot-compile-graph-cool-graphql-schemas-with-multiple-inheritan
Info:
node@8.0.0
npm@5.6.0
relay-compiler@1.5.0
Schema auto generated via
get-graphql-schema@2.1.1
The text was updated successfully, but these errors were encountered: