ConditionalValidator
ConditionalValidator copied to clipboard
Showcase Spring Boot project for custom conditional validation.
Results
2
ConditionalValidator issues
Sort by
recently updated
recently updated
newest added
When validating multiple fields are required, there are valid fields after the invalid ones, the isValid method incorrectly returns true. Change method to: ```java public boolean isValid(Object object, ConstraintValidatorContext context)...
If you have the following setup with the @Conditional ``` @Conditional(selected = "X", required = {"Y", "Z"}) @Conditional(selected = "Y", required = {"X", "Z"}) @Conditional(selected = "Z", required = {"X",...