Skip to content

fix(state): prioritize input class over output in ObjectMapperProvider#7879

Merged
soyuka merged 1 commit intoapi-platform:4.2from
soyuka:fix/7745
Mar 25, 2026
Merged

fix(state): prioritize input class over output in ObjectMapperProvider#7879
soyuka merged 1 commit intoapi-platform:4.2from
soyuka:fix/7745

Conversation

@soyuka
Copy link
Member

@soyuka soyuka commented Mar 25, 2026

Q A
Branch? 4.2
Tickets Closes #7745
License MIT
Doc PR

ObjectMapperProvider always mapped to the output class, breaking PATCH operations with separate input/output DTOs. The deserialized data was mapped to the output instead of the input, preventing proper merge.

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Tickets       | Closes api-platform#7745
| License       | MIT
| Doc PR        | ∅

ObjectMapperProvider always mapped to the output class, breaking PATCH
operations with separate input/output DTOs. The deserialized data was
mapped to the output instead of the input, preventing proper merge.
@soyuka soyuka merged commit 5a3a7dc into api-platform:4.2 Mar 25, 2026
150 checks passed
@soyuka soyuka deleted the fix/7745 branch March 25, 2026 12:07
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