jcommander icon indicating copy to clipboard operation
jcommander copied to clipboard

Have a default validator

Open Chuckame opened this issue 5 years ago • 1 comments

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

Chuckame avatar Oct 29 '20 13:10 Chuckame

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

Harlan1997 avatar May 19 '21 07:05 Harlan1997