-
-
Notifications
You must be signed in to change notification settings - Fork 954
Closed
Description
API Platform version(s) affected: api-platform/state:4.2.10
Description
Using DTO and ObjectMapper, the @type and @id are not properly set.
How to reproduce
- Clone : https://github.com/mtarld/sfcon-apip/tree/main
- Install the project
- Composer update
- Fetch the list of books
Possible Solution
The problem comes with this commit.
As you can see in the screenshots below, the commit fixes another problem where the DTO was not used for deserialization.
Additional Context
Before 4.2.10 :
After 4.2.10 :

Metadata
Metadata
Assignees
Labels
No labels