Skip to content

Commit 0319438

Browse files
committed
Add note for new exception in invalid association joins
1 parent 1438159 commit 0319438

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

en/appendices/5-3-migration-guide.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ Database
2828
- ``Query::with()`` now accepts an array of expressions to align with other query clauses. This also
2929
allows clearing the expressions with an empty array.
3030

31+
ORM
32+
---
33+
34+
- ``joinWith()`` now asserts when the association conflicts with an existing join and will overwrite it.
35+
Because existing code might harmlessly ignore the join or accidentally rely on that behavior, this change is not breaking
36+
in production for CakePHP 5.
37+
3138
Validation
3239
----------
3340

0 commit comments

Comments
 (0)