[ 
https://issues.apache.org/jira/browse/BVAL-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424573#comment-13424573
 ] 

Konstantin Triger commented on BVAL-109:
----------------------------------------

Personally I did not verify with spec and assumed HV folks know what they say. 
Considering what you said I don't see much benefits to go the "strict" way 
(unless it's not again the spec), can you please elaborate the reasons?
In a project I'm involved in using interfaces is not an option and probably 
there are more folks in the same situation.
                
> Wrong enforcement that validation groups have to be interfaces
> --------------------------------------------------------------
>
>                 Key: BVAL-109
>                 URL: https://issues.apache.org/jira/browse/BVAL-109
>             Project: BVal
>          Issue Type: New Feature
>          Components: jsr303
>    Affects Versions: 0.4
>            Reporter: Konstantin Triger
>             Fix For: 0.5
>
>
> The Bean Validation specification does not enforce that groups have to be 
> interfaces. Non interface classes could be used as well, but we recommend to 
> stick to interfaces.
> (Taken from 
> http://docs.jboss.org/hibernate/validator/4.0.1/reference/en/html/validator-usingvalidator.html#validator-usingvalidator-validationgroups)
> Suggested fix: remove the check from GroupsComputer.computeGroups.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to