-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
[v2] Show GraphQL errors in browser and help debug e.g. by adding link to open bad query in graphiql #5234
Comments
👋I was wondering if anyone is working on this, and if I can work on that. |
@leimonio I don't think anyone is actively work on this one - feel free to own this one! |
@pieh Just checked the codebase and noticed how the GraphQL errors are currently handled logged in the run instance. Is there any way you'd recommend passing errors to the console? |
Another idea would be to write errors in the |
@leimonio Do you mean pass from node to browser? Maybe you could reuse websocket that we currently use to transport json data - so emit from |
Done with #6247 |
Old issues will be closed after 30 days of inactivity. This issue has been quiet for 20 days and is being marked as stale. Reply here or add the label "not stale" to keep this issue open! |
This approach to displaying GraphQL compilation errors in the browser console utilizes the WebSocket connecting node running gatsby package responsible for executing GraphQL queries and the cache loaded and used on the browser side (thanks @pieh for helping in this). gatsbyjs#5234
No description provided.
The text was updated successfully, but these errors were encountered: