-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Description
Before submitting
Please check our wiki because some feature requests are asked a lot and there are good reasons (as explained on the wiki) why we can't (yet) implement them or why we won't implement them.
Describe the feature
The request to add the ability to create custom annotations will significantly decrease the boilerplate code required to perform validations for instance/class member variables and function signatures. This request has two parts.
- Allow creation of a custom annotation (ie:
@Positive,@GreaterThanZero,@FooBar, etc) in a very simple manner without the need for a lot of boilerplate code making custom annotations a first class supported concept. - Allow custom inline annotations to maybe check a simple check on the fly (ie:
@Custom { val > 0 }).
Describe the target audience
Audience would be anyone who want to reduce the boilerplate code for performing simple validations within their code.
Additional context
Add any other context about the feature / enhancement here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels