Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2103

Bean Validation - Remove distinction between property and field

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.CR1
    • None
    • None
    • None

      Bean Validation does not do any distinction between field constraint violations and getter constraint violations.

      RESTEasy introduced a distinction and is doing some reflection magic to see if a field has a getter (which is not even correct as the field could have a getter and the constraint could be on the field itself).

      I don't think introducing this distinction was a good idea and it definitely is not a good idea to do reflection there. Let's get rid of it.

              rsigal@redhat.com Ronald Sigal
              gsmet@redhat.com Guillaume Smet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: