We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Given the following SDL:
type Foo { true: String false: String on: String null: String }
The parser throws a parse error even though these names are allowed as field names in the GraphQL grammar: https://graphql.github.io/graphql-spec/June2018/#FieldDefinition
I see there's already an attempt at handling this for other keywords in
graphql-java/src/main/antlr/GraphqlCommon.g4
Line 31 in fccc0c7
To Reproduce New up the GraphQL Parser and parse the example above:
import graphql.parser.Parser; new Parser().parseDocument(exampleSDLAsString);
Observe that the parser throws errors even though the above is valid according to the grammar.
Related issue: JetBrains/js-graphql-intellij-plugin#239
The text was updated successfully, but these errors were encountered:
thanks for reporting: it should be fixed with #1599
Sorry, something went wrong.
Allow keywords to be used for as field names (#239) (#264)
2cbb68b
- Upgraded graphql-java to 14.0 (graphql-java/graphql-java#1523) - Refactored breaking changes from graphql-java 12.0 to 14.0
Successfully merging a pull request may close this issue.
Describe the bug
Given the following SDL:
The parser throws a parse error even though these names are allowed as field names in the GraphQL grammar: https://graphql.github.io/graphql-spec/June2018/#FieldDefinition
I see there's already an attempt at handling this for other keywords in
graphql-java/src/main/antlr/GraphqlCommon.g4
Line 31 in fccc0c7
To Reproduce
New up the GraphQL Parser and parse the example above:
Observe that the parser throws errors even though the above is valid according to the grammar.
Related issue: JetBrains/js-graphql-intellij-plugin#239
The text was updated successfully, but these errors were encountered: