Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fc01784

Browse filesBrowse files
authored
[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.
1 parent 621b57b commit fc01784
Copy full SHA for fc01784

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎reference/constraints/UniqueEntity.rst

Copy file name to clipboardExpand all lines: reference/constraints/UniqueEntity.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.