-
Notifications
You must be signed in to change notification settings - Fork 33
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
Working with Apollo Server 2.0 #44
Comments
Apollo 2.0 already implements a built error handling mechanism. You can check it at: https://www.apollographql.com/docs/apollo-server/v2/features/errors.html |
Yep true but it's super basic! |
@dakshshah96 @thebigredgeek , with Apollo's new system, error generation might be the way to go. A simple script that generates Apollo error classes from a JSON definition file. |
That sounds neat! Down to explore it |
I got inspired a little bit and started working on this project here it's called apollo-prophecy not yet production ready tho. I created an issue to make it work with third party Apollo libraries like |
How would I use
apollo-errors
with Apollo Server 2.0? Example:The text was updated successfully, but these errors were encountered: