[ https://issues.apache.org/jira/browse/BVAL-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Benson resolved BVAL-171.
------------------------------
Resolution: Fixed
commit e6609f749af49ea2e554e8f65a5c1bf6d384ad90 (HEAD -> master, origin/master)
Author: Matt Benson <mbenson@apache.org>
Date: Tue Feb 26 13:17:37 2019 -0600
BVAL-171: permit ConstraintValidator impl with compatible annotation type parameter
> Compatibility with hv benchmark
> -------------------------------
>
> Key: BVAL-171
> URL: https://issues.apache.org/jira/browse/BVAL-171
> Project: BVal
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Thomas Andraschko
> Priority: Major
> Fix For: 2.0.1
>
>
> AFAICS a validator can be reused via mapping for multiple constraints:
> [https://github.com/hibernate/hibernate-validator/blob/master/performance/src/main/resources/org/hibernate/validator/performance/statistical/mapping.xml]
> [https://github.com/hibernate/hibernate-validator/blob/master/performance/src/main/java/org/hibernate/validator/performance/statistical/StatisticalConstraintValidator.java]
>
> bval 2.x doesnt allow this but 1.x does.
>
> I think the fix is really simple and just a "validation" thing, would be great if someone
could check it. I can't use my right hand the next ~2 weeks (thanks to my mountainbike...)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
|