-
Notifications
You must be signed in to change notification settings - Fork 52
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
Extend the library to handle Graphql errors #78
Comments
I have no experience with GraphQL at all, so this is not something I need. But if you are willing to develop and maintain the feature in such a way that people not using GraphQL are not getting extra dependencies they don't want, then I am willing to review the PR. |
A baseline implementation for Spring would require at least spring-graphql. If this is no issue I might try to invest some time in a PR. |
I assume we can add it as an optional dependency |
Issued #80, thanks! |
Hello!
I think the library would grow even more if considered to include GraphQL error handling. There are a few implementations already for java-graphql and Spring framework (DGS, Kickstart, Spring GraphQL, etc.) but not many offer a simple, highly configurable error handling setup.
The main contract from which all error handlers would start is similar to the current implementation:
The only specific feature would be to implement a specialized bean or extend an ExceptionHandler interface required for the library to work.
Example for DGS:
What do you think about this?
The text was updated successfully, but these errors were encountered: