Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1387 Perform a UX review of the Shell experience in Forge 2.Beta4
  3. FORGE-1446

bean-validation-add-constraint should be renamed --onProperty

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • UI - Shell
    • None

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

      constraint NotNull --onProperty title
      

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

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

              Unassigned Unassigned
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: