Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-3333

bean validator should use SerializedName

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • Istanbul Release
    • None
    • None

    Description

      The bean validator reports invalid fields by the name as they appear within the class being validated.  However, the field may be named something different in the incoming data, due to the use of the SerializedName annotation.  It might be better if the error messages took that into account, as that specifies the name that the client likely used, thus potentially leading to confusion.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jrh3 Jim Hahn
            jrh3 Jim Hahn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: