MWE: [GitHub - alfonz19/validator-fail-mwe|https://github.com/alfonz19/validator-fail-mwe]
After fresh app start calling validation of annotated DTO will work as expected, and after that, also validation of DTO having validation defined in validation-constraints.xml will work as expected. Everything works.
After fresh app start calling validation of DTO having validation defined in validation-constraints.xml will FAIL, and after that, calling validation of annotated DTO will also FAIL. Now every validation FAILS.
Biggest problem is, that if xml-based path is hit first, all validations (probably subset using relevant custom validators) fails.
tested in springboot:
* 2.7.12 * 3.1.0 |
|