Separate the notion of message resolver vs message interpolator

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.

Environment

None

Status

Assignee

Unassigned

Reporter

Emmanuel Bernard

Labels

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Critical