Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Commit9bef9d5
committed
minor#21480 [Validator] UniqueEntity - add warning about not supported types and association mappings. (wkania)
This PR was merged into the 6.4 branch.Discussion----------[Validator] UniqueEntity - add warning about not supported types and association mappings.This constraint does not support Doctrine types such as ``simple_array``, ``json``, or ``jsonb``, nor does it handle association mappings like One-To-Many and Many-To-Many relationships. It may also not work correctly with custom Doctrine types. To perform uniqueness checks on such fields, you must define a custom repositoryMethod that implements the desired logic.The previous [PR](#21262) closed itself due to an incorrect empty rebase, sorry.Commits-------31ec2a0 [Validator] UniqueEntity - add warning about not supported types and association mappings.1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
142 | 150 | | |
143 | 151 | | |
144 | 152 | | |
| |||
0 commit comments
Comments
(0)