-
Notifications
You must be signed in to change notification settings - Fork 95
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
Reserved keyword on
?
#264
Comments
This seems to be a duplicate of #239 |
Hi, I was wondering if this is still on the radar? |
I plan on fixing this eventually, but It depends on a similar fix in graphql-java 14.0 which hasn't been released yet. |
Thanks for getting back, I'll practice some more patience :) |
jimkyndemeyer
added a commit
that referenced
this issue
Mar 13, 2020
- Upgraded graphql-java to 14.0 (graphql-java/graphql-java#1523) - Refactored breaking changes from graphql-java 12.0 to 14.0
Fixed in the upcoming 2.4.0. |
awesome ! thank you ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that
on
is handled as a reserved keyword. I'm not sure if this is actually the case, but I could not find any information about graphql schemas and reserved keywords.Operation system: macOS Mojave 10.14.5
IDE name and version: IntelliJ 2019.2 EAP
Plugin version: 2.2.0
Expected Behaviour
Given the following schema.graphql snippet :
I would expect the
on
to be regarded as a regular variable.Actual Behaviour
It now throws with
unexpected token 'on'
If I rename the
on
variable toonn
for example, it parses fine.The text was updated successfully, but these errors were encountered: