-
Notifications
You must be signed in to change notification settings - Fork 19
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
Syntax Error: Cannot parse the unexpected character "&". #115
Comments
Yeah, I'm seeing this too now. This will be because the version of GraphQL is locked to an old version (0.9.3) and in the most recent versions, this syntax was changed. See also #111 |
@Mayank1791989 Please, is there some workaround for this? It basically breaks whole thing because it fails to parse schema and all benefits of this are gone. |
Is there any update on this issue? As @FredyC points out this renders the entire thing useless if your schema happens to make use of any types that implement multiple interfaces, so it's pretty high impact. |
@matt-senseye I highly recommend you to look at Apollo GraphQL extension that works nicely. This one seems dead. |
@FredyC thanks for the recommendation, the Apollo GraphQL extension is working so I've swapped to that 👍 For the benefit of anyone needing to make the same jump, I didn't find it immediately obvious from the docs how to configure it without using Apollo Engine/Graph Manager, but it worked with the config below:
|
Hi,
Related to graphql/graphql-js#1169, I'm using
graphql
0.13.1 and I have a type which implements multiple interfaces:And it shows
[graphql] Syntax Error: Cannot parse the unexpected character "&".
when I turn on graphql for VSCode.Best,
Joseph
The text was updated successfully, but these errors were encountered: