@ScriptAssert and @ParameterScriptAssert should allow to specify a target for the violation message

Description

As a user of @ScriptAssert and @ParameterScriptAssert, I'd like to be able to override the target property/parameter of the constraint violation message, without having to implement a custom constraint validator:

This constraint violation would be reported on the end property instead of the class itself.

Environment

None

Assignee

Unassigned

Reporter

Gunnar Morling

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Priority

Major
Configure