Skip to content

Commit c6d0feb

Browse files
committed
minor #19881 Move Doctrine constraints out of Other constraints (gitomato)
This PR was submitted for the 7.1 branch but it was squashed and merged into the 5.4 branch instead. Discussion ---------- Move Doctrine constraints out of Other constraints The "Other Constraints" category is very useful, I regularly find myself checking out each of them to find the best fit. As a user of DBAL only, the Doctrine constraints are not as generic as the other ones. I suggest giving Doctrine constraints their own category, which may help people that use Doctrine, but also people that don't. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- f1927e1 Move Doctrine constraints out of Other constraints
2 parents d49fa64 + f1927e1 commit c6d0feb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

reference/constraints/map.rst.inc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,13 @@ Financial and other Number Constraints
8686
* :doc:`Issn </reference/constraints/Issn>`
8787
* :doc:`Isin </reference/constraints/Isin>`
8888

89+
Doctrine Constraints
90+
~~~~~~~~~~~~~~~~~~~~
91+
92+
* :doc:`UniqueEntity </reference/constraints/UniqueEntity>`
93+
* :doc:`EnableAutoMapping </reference/constraints/EnableAutoMapping>`
94+
* :doc:`DisableAutoMapping </reference/constraints/DisableAutoMapping>`
95+
8996
Other Constraints
9097
~~~~~~~~~~~~~~~~~
9198

@@ -100,6 +107,3 @@ Other Constraints
100107
* :doc:`Traverse </reference/constraints/Traverse>`
101108
* :doc:`Collection </reference/constraints/Collection>`
102109
* :doc:`Count </reference/constraints/Count>`
103-
* :doc:`UniqueEntity </reference/constraints/UniqueEntity>`
104-
* :doc:`EnableAutoMapping </reference/constraints/EnableAutoMapping>`
105-
* :doc:`DisableAutoMapping </reference/constraints/DisableAutoMapping>`

0 commit comments

Comments
 (0)