-
Notifications
You must be signed in to change notification settings - Fork 7
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: Expected Name, found } #9
Comments
I've found prisma/prisma#1981 but I'm not sure its relationship given that in the graphql playground localhost:4000 the mutation works correctly, but through the graphql-cli-load I get this error. |
Solved it, the mappings inside the
I will send a pull request for this correction and if you want we can use my repository as the minimum viable graphql-cli-load example code that currently does not exist in a "plug in -and - run" sort of thing. |
I also removed the original example repository since I have now copied the working version of the minimum example code as a separate branch of my own fork here |
Sounds great, thanks so much ! |
Your original issue looked like a missing/incorrect mutation name? |
Hey jexp, thanks for the reply. Apologies for the unclean code, I will be more careful with presenting it better next time. Would I suggest continuing to discuss this issue here before continuing at the pull request? I will also make it better as soon as I can. So I was trying to run this command:
And I had defined this resolver in src/resolvers/Mutations.js from my most minimum example:
Also running this mutation in the graphql playground, it worked:
Would you think it still might be related to the mutation name in the |
Hello jexp, first thanks for the project, it looks very useful.
I'm having a problem when running the
grapqhl load
that maybe you would know what it would mean.I'm running the database API with prisma, and I have uploaded my whole minimum viable test project to get this functionality working in this repository: https://github.com/daquintero/testGraphqlCLILoad/tree/master
I'm not sure if this is enough information for the question, but please tell me if you need anything else. I appreciate very much the help!
The text was updated successfully, but these errors were encountered: