podam icon indicating copy to clipboard operation
podam copied to clipboard

Podam doesn't work with @PositiveOrZero and @Max

Open onacit opened this issue 1 year ago • 2 comments

The following code generated values over 255,

@Max(255)
@PositiveOrZero
private Integer someTinyIntUnsigned;

while the following code seems work.

@Max(255)
@Min(0)
private Integer someTinyIntUnsigned;

onacit avatar Apr 16 '25 02:04 onacit

Hi,

What is the full name of @Max annotation?

Thanks, Daniil

daivanov avatar Apr 17 '25 17:04 daivanov

They are all Jakarta.validation

onacit avatar Apr 18 '25 08:04 onacit