[forge-issues] [JBoss JIRA] (FORGE-1446) bean-validation-add-constraint should be renamed --onProperty

Antonio Goncalves (JIRA) issues at jboss.org
Wed Jan 15 16:30:32 EST 2014


Antonio Goncalves created FORGE-1446:
----------------------------------------

             Summary: bean-validation-add-constraint should be renamed --onProperty
                 Key: FORGE-1446
                 URL: https://issues.jboss.org/browse/FORGE-1446
             Project: Forge
          Issue Type: Sub-task
            Reporter: Antonio Goncalves
             Fix For: 2.x Future


In Forge 1.x to add a constraint on a property we do : 

{code}
constraint NotNull --onProperty title
{code}

On Forge 2.Beta the attribute is called {{--property}} instead of {{--onProperty}} (which would make sense with {{--onAccessor}}) :

{code}
[Talk.java]$ bean-validation-add-constraint TAB
--onAccessor  --constraint  --property
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list