Uploaded image for project: 'Bean Validation'
  1. BVAL-217

Separate the notion of message resolver vs message interpolator

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.1-ideas
    • Component/s: api, spec-general
    • Labels:
    • Last commented by a user?:
      true

      Description

      A common requirement is to plug in a different source for validation messages, e.g. to fetch them from a DB instead of ValidationMessages.properties. Currently, on the spec level, one has to re-implement the whole interpolation algorithm just to plug in another source. Hibernate Validator's ResourceBundleLocator contract mitigates that, and it'd be good to have something similar to that in the spec.

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: