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
Right now when having multiple queries with the same name, the only output one gets in the console is:
GraphQL Error There was an error while compiling your site's GraphQL queries.
And nothing else, it's not even hinting on what the problem is.
Right now it's not very helpful, even when the error is as simple as having multiple queries with the same name.
The text was updated successfully, but these errors were encountered:
Hmm yeah that could be a lot better.
Could you create a PR with some improvements?
Sorry, something went wrong.
I thought there was a better error for this already? Maybe it's getting shadows by something throwing earlier or maybe i just overlooked it. My guess is if you want to add something doing it here: https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/src/internal-plugins/query-runner/graphql-errors.js#L162 is the best bet
Add back graphql error fixes #1999
501d0af
Just ran into the same problem — fixed it in #2004
6f7b8c3
No branches or pull requests
Right now when having multiple queries with the same name, the only output one gets in the console is:
And nothing else, it's not even hinting on what the problem is.
Right now it's not very helpful, even when the error is as simple as having multiple queries with the same name.
The text was updated successfully, but these errors were encountered: