Skip to content

Commit 546ace7

Browse files
authored
Merge pull request #8140 from cakephp/othercorey-patch-3
Add note for new exception on invalid association joins
2 parents 1438159 + 0319438 commit 546ace7

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)