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

Have a default validator #507

Open
Chuckame opened this issue Oct 29, 2020 · 1 comment
Open

Have a default validator #507

Chuckame opened this issue Oct 29, 2020 · 1 comment

Comments

@Chuckame
Copy link

Chuckame commented Oct 29, 2020

Hello there, great lib ! 😄

So, it can be cool to have a default validation (like a fallback). Is this way, we are able to globalize the validation using javax validation annotations (like @NotBlank on Strings, @Max(10) for a maximum limit for a number, etc...) instead of precising on each param which validator class we want (boring when having many params)
What do you think ? I can help for programming this feature

@Harlan1997
Copy link

Interesting point. Could you give me an example? I would like to work on this issue.

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