Skip to content

Commit 2555eb4

Browse files
committed
laravel json api sparse fieldset + sort
1 parent c7892af commit 2555eb4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/content-negotiation.md

+4
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,10 @@ merge new encoders and normalizers in API Platform.
355355

356356
## JSON:API sparse fieldset and sort parameters
357357

358+
> [!WARNING]
359+
> The SortFilter is for Eloquent, the Doctrine equivalent is the OrderFilter.
360+
> The config/api-platform.php is Laravel specific.
361+
358362
When working with JSON:API you may want to declare the `SparseFieldset` and the
359363
`SortFilter` globally:
360364

0 commit comments

Comments
 (0)