-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
It would be great if modules supported exclusive bounds for min and/or max. In terms of the ModuleItem
API, we can add isMinExclusive()
and isMaxExclusive()
flags, which default to false. For @Parameter
annotations, this could be done without modifying the type by supporting syntax like ">2" for min and "<3.5" for max. That is: look for >
or<
symbol leading the string, strip it out, and set the exclusivity flag to true. Then parse the rest as usual.
Thanks to Adrian Daerr for the suggestion.
Metadata
Metadata
Assignees
Labels
No labels