declex icon indicating copy to clipboard operation
declex copied to clipboard

Use saripaar validations with Properties injection

Open smaugho opened this issue 6 years ago • 0 comments

Properties injections are definitely an amazing tool, but you cannot use Saripaar with them, so you should recollect the data in a model in order to use saripaar validations, it would be nice if you can use Saripaar automatically with Properties injection:

Ex:


public void readForm(@Email String emailText, @Password String password) {

}

This will trigger automatically the validation of saripaar before passing the parameters.

smaugho avatar Jul 26 '17 13:07 smaugho