-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request from GHSA-8vp7-j5cj-vvm2
Filter serialization groups by default ones and allowed ones
- Loading branch information
Showing
3 changed files
with
121 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## UPGRADE FOR `1.3.x` | ||
|
||
### FROM `1.3.x` TO `1.3.13` | ||
|
||
If you're using an "Accept" HTTP header to set the serialization groups, you need to define allowed groups | ||
either by passing them as default in `serialization_groups` setting or marking them as allowed in | ||
`allowed_serialization_groups` setting, both settings are set in the route definition (under `_sylius` key). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters