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

Add Apollo Server v2 Error Handling #363

Closed
Siyfion opened this issue Jun 8, 2018 · 4 comments
Closed

Add Apollo Server v2 Error Handling #363

Siyfion opened this issue Jun 8, 2018 · 4 comments

Comments

@Siyfion
Copy link

Siyfion commented Jun 8, 2018

Just in the same way that the Apollo Server v2 has been updated to include error handling, I feel like it would be hugely beneficial if graphql-yoga did the same, ideally, in the same way:

https://www.apollographql.com/docs/apollo-server/v2/features/errors.html

These changes help massively with debugging and with generating better error messages for the clients.

@stale
Copy link

stale bot commented Nov 23, 2018

Due to inactivity of this issue we have marked it stale. It will be closed if no further activity occurs.

@stale stale bot added the stale label Nov 23, 2018
@stale
Copy link

stale bot commented Nov 30, 2018

Hey 👋, It seems like this issue has been inactive for some time. In need for maintaining clear overview of the issues concerning the latest version of graphql-yoga we'll close it.
Feel free to reopen it at any time if you believe we should futher discuss its content. 🙂

@stale stale bot closed this as completed Nov 30, 2018
@solarsoft0
Copy link

what is the status of this

@Urigo
Copy link
Collaborator

Urigo commented Mar 29, 2022

Hey, @Urigo from The Guild here!

You might know us from projects such as graphql-code-generator, envelop or graphql-tools.

For a long time we thought that the Javascript ecosystem is still missing a lightweight cross-platform, but still highly customizable GraphQL Server.

In the past the awesome Prisma team took on that great challenge and now we are happy to announce that we are continuing them and just released GraphQL Yoga 2.0 - Build fast, extensible, and batteries-included (Subscriptions, Serverless, File uploads support) GraphQL APIs in Node.js 🚀

Regarding the issue here, here is our recommended way for error handling, would love to hear your thoughts:
https://www.the-guild.dev/blog/graphql-error-handling-with-fp

We have been working a long time on version 2.0 and have been using it in our clients projects for a few months now and shared a couple of alpha cycles here.
Thank you all for your feedback and suggestions, you made this release possible!

Please try Yoga out again, give us feedback and help us spread the word on the new release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants