Skip to content

Commit 1a32181

Browse files
committed
minor #11711 [Validator] Update the propertyPath description of DivisibleBy (javiereguiluz)
This PR was merged into the 4.2 branch. Discussion ---------- [Validator] Update the propertyPath description of DivisibleBy Although the current description is perfect ... it's not consistent with the other comparison constraints, which all of them include a standard description. This PR is needed to simplify other PRs, such as #11710. Commits ------- feee926 [Validator] Update the propertyPath description of DivisibleBy
2 parents 119ebac + feee926 commit 1a32181

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

reference/constraints/DivisibleBy.rst

+1-10
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,6 @@ comparison value.
115115

116116
.. include:: /reference/constraints/_payload-option.rst.inc
117117

118-
propertyPath
119-
~~~~~~~~~~~~
120-
121-
**type**: ``string``
122-
123-
It defines the object property whose value is used to make the comparison.
124-
125-
For example, if you want to compare the ``$value`` property of some object
126-
with regard to the ``$increments`` property of the same object, use
127-
``propertyPath="increments"`` in the comparison constraint of ``$value``.
118+
.. include:: /reference/constraints/_comparison-propertypath-option.rst.inc
128119

129120
.. include:: /reference/constraints/_comparison-value-option.rst.inc

0 commit comments

Comments
 (0)