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

Support for custom validation error #2528

Merged

Conversation

dugenkui03
Copy link
Contributor

No description provided.

import graphql.PublicApi;

@PublicApi
public interface ValidationErrorTypeInterface {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mark interface for validation error type.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am happy to accept this PR - However I would like the name of this to be ValidationErrorClassification (like how we have ErrorClassification

Copy link
Member

@bbakerman bbakerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename to ValidationErrorClassification please

@dugenkui03
Copy link
Contributor Author

Can we rename to ValidationErrorClassification please

Thanks for your review, ValidationErrorTypeInterface has been rename to ValidationErrorClassification.

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

Successfully merging this pull request may close these issues.

None yet

2 participants