Open
Description
This and this annotations lead to startup errors in case Hibernate Validator, pulled by spring-boot-starter-validation
, is replaced by a different JSR 303 implementation as Apache BVal.
@Max
does not look as meant to support DataSize
anyway: https://github.com/eclipse-ee4j/beanvalidation-api/blob/master/src/main/java/jakarta/validation/constraints/Max.java#L31-L36
Would it be possible to either remove those two annotations, or to supply a dedicated validator for DataSize
as in the sample shown by https://stackoverflow.com/questions/60526871/annotation-for-datasize-validation#answer-60528256 ?