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

Bean Validation - Remove distinction between property and field

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: