Skip to content

Commit 85c8c22

Browse files
committed
with should still be an option
1 parent 00aa2a4 commit 85c8c22

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

docs/upgrade-guides/v5-x-to-v6-0.md

-15
Original file line numberDiff line numberDiff line change
@@ -85,21 +85,6 @@ If you were using the Table mode on any of your Has Many fields, you should swit
8585
* `mode: table`
8686
* `'mode' => 'table'`
8787

88-
### Low: Changes to overriding eager loaded relationships.
89-
If you were previously overriding the "eager loaded relationships" in your resource's config array, you should change the key from `with` to `relationships`:
90-
91-
```php
92-
\App\Models\Product::class => [
93-
// ...
94-
95-
// Previously...
96-
'with' => ['tags', 'manufacturer'],
97-
98-
// Now...
99-
'relationships' => ['tags', 'manufacturer'],
100-
],
101-
```
102-
10388
## Previous upgrade guides
10489

10590
- [v3.x to v4.0](/upgrade-guides/v3-x-to-v4-0)

0 commit comments

Comments
 (0)