-
Notifications
You must be signed in to change notification settings - Fork 3
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
Error: Type Query not found #33
Comments
Hello @marc-hughes the error you are seeing could be a result of an issue with the generated graphQL schema. Can you provide the xxx_api.schema.graphql and xxx_api.source.schema.graphql with sensitive data redacted? I just recently made changes in the main branch which outputs logs to a file (you can turn on verbose logging with --log-verbose). If you are willing to check out the source code in the main branch, package, and install, it could provide more insight into the error you are receiving. |
The main branch outputs a log similar to the output above, but with this extra bit:
I'm checking with the company if I can share the full schema, but I did take that schema, ran it through a graphql schema validator, and got this output:
In the schema, I do see some double-entries
Side note: Current main branch fails if the output folder doesn't exist. Previously it would create it. |
Thanks for the information. I can take a look to see why the schema might have duplicate entries. I have also opened a quick PR to fix the output folder issue, thanks for pointing that out. |
The problem ended up being we had a vertex and an edge that had the same label. Once that was removed, everything is working. |
When running the command, I get a "Type Query not found" error after it adds the schema. Any guidance on next steps would be greatly appreciated.
The text was updated successfully, but these errors were encountered: