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 b8da270

Browse filesBrowse files
committed
minor #11436 Added a note about UniqueEntity and collections (javiereguiluz)
This PR was merged into the 3.4 branch. Discussion ---------- Added a note about UniqueEntity and collections Fixes #10942. Commits ------- 13a6a8e Added a note about UniqueEntity and collections
2 parents f866de7 + 13a6a8e commit b8da270
Copy full SHA for b8da270

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed

‎reference/constraints/UniqueEntity.rst

Copy file name to clipboardExpand all lines: reference/constraints/UniqueEntity.rst
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ your user table:
114114
this validation has passed and before this entity is actually persisted in
115115
the database.
116116

117+
.. caution::
118+
119+
This constraint cannot deal with duplicates found in a collection of items
120+
that haven't been persisted as entities yet. You'll need to create your own
121+
validator to handle that case.
122+
117123
Options
118124
-------
119125

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.