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

Custom validation message #57

Open
kushubham9 opened this issue Apr 29, 2018 · 1 comment
Open

Custom validation message #57

kushubham9 opened this issue Apr 29, 2018 · 1 comment

Comments

@kushubham9
Copy link

When I validate raw data against my defined structure, a generalized failure message is returned. {path,message}

Can I set a custom message for each attribute rule? That would be very helpful in building API responses.

@talyssonoc
Copy link
Owner

It seems like an interesting idea, would you be willing to submit a PR for that?

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

2 participants