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

bean validator should use SerializedName

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • Istanbul Release
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: