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

Allow to enter a custom error message #180

Open
devpedrofranco opened this issue Apr 5, 2019 · 1 comment
Open

Allow to enter a custom error message #180

devpedrofranco opened this issue Apr 5, 2019 · 1 comment

Comments

@devpedrofranco
Copy link

Hello,

I'm new using this library and i don't found one way to return a custom messagen when got a error in a specific column.
Example:

carId: notEmpty positiveInteger message("Car record Key is Required")
this message should return when got any validation in this column.

If has some way to do this, can any one post.

Thanks

@adamretter
Copy link
Contributor

@pedrohfranco There is currently no facility for that. If you would like to contribute one though, it would be welcome.

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

No branches or pull requests

3 participants