You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to be able to validate BigDecimal values, which is a common requirement for financial services applications.
I'd propose having a digits field that is associated with a property, which in turn would require integerDigits and fractionalDigits to be set within that digits field.
For example (this assumes that the config option of isUseBigDecimals() returns true).
Both integerDigits and fractionalDigits must be specified or else no
@digits annotation will be added.
- Amend tests to specify fractional values to end in non-zero numerals.
Currently there is no support for the
@Digits
annotation (https://javaee.github.io/javaee-spec/javadocs/javax/validation/constraints/Digits.html), which is part of the JSR-303 standard (example here: https://beanvalidation.org/1.0/spec/#validationapi-message-examples).It would be good to be able to validate BigDecimal values, which is a common requirement for financial services applications.
I'd propose having a
digits
field that is associated with a property, which in turn would requireintegerDigits
andfractionalDigits
to be set within thatdigits
field.For example (this assumes that the config option of
isUseBigDecimals()
returns true).The text was updated successfully, but these errors were encountered: