Skip to content

Commit ffa98e2

Browse files
gaetan-petitGaëtan Petit
andauthored
fix(performance): add warning about Serializer groups being mandatory in order to trigger EagerLoadingExtension (#1814)
Co-authored-by: Gaëtan Petit <[email protected]>
1 parent a2c731f commit ffa98e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/performance.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ public $foo;
199199
...
200200
```
201201

202+
> **Warning**: in order to trigger the `EagerLoadingExtension` you must use [Serializer groups](serialization.md) on relations properties.
203+
202204
#### Max Joins
203205

204206
There is a default restriction with this feature. We allow up to 30 joins per query. Beyond that, an

0 commit comments

Comments
 (0)