-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
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: RootQueryType
mutation: 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
jmackie
Metadata
Metadata
Assignees
Labels
No labels