Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @IntValue validation annotation #506

Closed
sleberknight opened this issue Feb 18, 2021 · 0 comments · Fixed by #508
Closed

Add @IntValue validation annotation #506

sleberknight opened this issue Feb 18, 2021 · 0 comments · Fixed by #508
Assignees
Labels
new feature A new feature such as a new class, method, package, group of classes, etc.
Milestone

Comments

@sleberknight
Copy link
Member

sleberknight commented Feb 18, 2021

This can go on CharSequence and validates that the value is convertible to an integer. e.g.

@IntValue
private String someValue;

In the above, someValue is a String but the @IntValue annotation means it must be convertible into an integer.

@sleberknight sleberknight added the new feature A new feature such as a new class, method, package, group of classes, etc. label Feb 18, 2021
@sleberknight sleberknight added this to the 0.20.0 milestone Feb 18, 2021
@sleberknight sleberknight self-assigned this Feb 18, 2021
sleberknight added a commit that referenced this issue Feb 18, 2021
@sleberknight sleberknight changed the title Add @Int validation annotation Add @IntValue validation annotation Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature A new feature such as a new class, method, package, group of classes, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant