Skip to content
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

Validate queries passed to the graphql function #1595

Closed
KyleAMathews opened this issue Jul 24, 2017 · 2 comments
Closed

Validate queries passed to the graphql function #1595

KyleAMathews opened this issue Jul 24, 2017 · 2 comments
Labels
stale? Issue that may be closed soon due to the original author not responding any more.

Comments

@KyleAMathews
Copy link
Contributor

A pretty high percentage of errors it seems people are getting stuck on are bad queries in gatsby-node.js e.g. in createPages.

Queries in components are validated by Relay Modern (though people seem to often miss the warnings) but errors in node.js code isn't validated and just throws weird errors.

We should validate queries and give more helpful errors.

@stale
Copy link

stale bot commented Jan 20, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale? Issue that may be closed soon due to the original author not responding any more. label Jan 20, 2018
@stale
Copy link

stale bot commented Feb 4, 2018

This issue has been automatically closed due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale? Issue that may be closed soon due to the original author not responding any more.
Projects
None yet
Development

No branches or pull requests

1 participant