Skip to content
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.

Support for @DecimalMax #88

Open
aleks-p opened this issue Jul 15, 2015 · 1 comment
Open

Support for @DecimalMax #88

aleks-p opened this issue Jul 15, 2015 · 1 comment

Comments

@aleks-p
Copy link

aleks-p commented Jul 15, 2015

Currently, the way to do a max-validation against a decimal limit is via a custom validator.

Can you consider adding support for the DecimalMax constraint (part of the built-in constraints of Bean validation)?

@marcelstoer
Copy link
Collaborator

You are right, there are a few Bean Validation constraints that are not supported yet. As per https://github.com/netceteragroup/valdr-bean-validation#mapping-of-bean-validation-constraints-to-valdr-constraints and http://beanvalidation.org/1.1/spec/#builtinconstraints (inverse intersection) they are:

  • DecimalMin/Max
  • AssertTrue/False
  • Null

We will consider adding support for them in an upcoming release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants