Skip to content

Add support for Apache BVal #2303

Open
Open
@ilgrosso

Description

@ilgrosso

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 ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions