Uploaded image for project: 'Hibernate Validator'
  1. HV-823

Provide contract for customization of property names in constraint violation

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 6.1-backlog
    • Component/s: engine
    • Labels:
    • Last commented by a user?:
      true
    • Sprint:

      Description

      Similar to ParameterNameProvider, we might consider another contract which allows to customize the name of properties in constraint violations, potentially also custom values instead of <return-value> and <cross-parameter>.

      Based on this question on SO: http://stackoverflow.com/questions/18878868/hibernate-validator-and-jackson-using-the-jsonproperty-value-as-the-constraint
      ML discussion: http://lists.jboss.org/pipermail/hibernate-dev/2013-September/010374.html

        Attachments

          Activity

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: