Skip to content

fix: call object mapper with the expected class on 4.3#7796

Open
Cafeine42 wants to merge 1 commit intoapi-platform:mainfrom
Cafeine42:4.3-object-mapper-post-correct-target
Open

fix: call object mapper with the expected class on 4.3#7796
Cafeine42 wants to merge 1 commit intoapi-platform:mainfrom
Cafeine42:4.3-object-mapper-post-correct-target

Conversation

@Cafeine42
Copy link
Contributor

Q A
Branch? 4.3
License MIT

When the input DTO or the API resource has multiple mapping targets, during a POST request with ApiPlatform, provide the expected target to the objectMapper to ensure the correct mapping is used.

Same fix than #7795 but on 4.3.

@Cafeine42 Cafeine42 changed the title fix: call object mapper with the expected class fix: call object mapper with the expected class on 4.3 Feb 26, 2026
@soyuka soyuka linked an issue Feb 27, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant