Skip to content

Commit 8f7e04c

Browse files
committed
minor #20962 [Validator] avoid broken rendering of inline types in UniqueEntity (santysisi)
This PR was merged into the 6.4 branch. Discussion ---------- [Validator] avoid broken rendering of inline types in `UniqueEntity` This PR fixes an issue in the documentation where inline type annotations like | ``string`` | were not rendering correctly due to reStructuredText interpreting the | characters as substitution references. Changes: Replaced | ``string`` | with a more reliable format: boolean, string or array Ensures consistent rendering across Sphinx and other reST parsers This improves readability and avoids confusion when displaying valid type options in inline documentation. Commits ------- fc01784 [Validator] avoid broken rendering of inline types in UniqueEntity
2 parents 2196a8e + fc01784 commit 8f7e04c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/constraints/UniqueEntity.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ each with a single field.
277277
``ignoreNull``
278278
~~~~~~~~~~~~~~
279279

280-
**type**: ``boolean`` | ``string`` | ``array`` **default**: ``true``
280+
**type**: ``boolean``, ``string`` or ``array`` **default**: ``true``
281281

282282
If this option is set to ``true``, then the constraint will allow multiple
283283
entities to have a ``null`` value for a field without failing validation.

0 commit comments

Comments
 (0)