Let composed constraint return the message of the first failing constraint instead of the composed constraint

Description

A better name is needed but to get the idea

@ReportAsSingleViolation(messageSource=ByOriginatingConstraint)

This would return the composing constraint message (say from @Size) instead of the composed constraint @ZipCode

Environment

None

Assignee

Unassigned

Reporter

Emmanuel Bernard

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure