We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
At this moment, the @Max and @Min annotations can be used for:
@Max
@Min
@Max(12) @Min(1) private int number; @Max(12) @Min(1) private List<Integer> numbers;
As a developer, I would like the ability to define the value range for numeric data types within a collection.
Maybe creating a specific annotation for collection size definition, letting @Min and @Max reference just to the numeric data types.
@MaxCollectionElements(7) @MinCollectionElements(1) @Max(12) @Min(1) private List<Integer> numbers;
@CollectionElements(min = "1", max = "7") @Max(12) @Min(1) private List<Integer> numbers;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At this moment, the
@Max
and@Min
annotations can be used for:As a developer, I would like the ability to define the value range for numeric data types within a collection.
Maybe creating a specific annotation for collection size definition, letting
@Min
and@Max
reference just to the numeric data types.The text was updated successfully, but these errors were encountered: