Closed djmj closed 5 years ago
Like the concept with @ValidInvoice
, makes sense if lib uses are already in the bean validation environment.
Perfect fit for 1.4 release
Regarding @ValidMonetarySummation, @ValidItem need to check if it can make it to 1.4 as well.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The class MonetarySummationValidator could be defined as a bean validator on class level. This could make the code cleaner and if a different Validator instance is used on Invoice bean it will still validate the summation (see #60).
Something like: