File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,14 @@ It defines the object property whose value is used to make the comparison.
88For example, if you want to compare the ``$endDate`` property of some object
99with regard to the ``$startDate`` property of the same object, use
1010``propertyPath= " startDate" `` in the comparison constraint of ``$endDate``.
11+
12+ .. tip::
13+
14+ When using this option, its value is available in error messages as the
15+ ``{{ compared_value_path }}`` placeholder. Although it' s not intended to
16+ include it in the error messages displayed to end users, it' s useful when
17+ using APIs for doing any mapping logic on client- side.
18+
19+ .. versionadded:: 4 .4
20+
21+ The ``{{ compared_value_path }}`` placeholder was introduced in Symfony 4 .4 .
You can’t perform that action at this time.
0 commit comments