[PR #10088] Ensure consistent original data with enums #12081

Open
opened 2026-01-22 16:12:51 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/10088

State: closed
Merged: Yes


As mentioned in #10074, the SimpleObjectHydrator doesn't convert strings into enums, while the ObjectHydrator does, causing inconsistent values in the UnitOfWork::$originalEntityData array. This PR aims to fix that.

**Original Pull Request:** https://github.com/doctrine/orm/pull/10088 **State:** closed **Merged:** Yes --- As mentioned in #10074, the `SimpleObjectHydrator` doesn't convert strings into enums, while the `ObjectHydrator` does, causing inconsistent values in the `UnitOfWork::$originalEntityData` array. This PR aims to fix that.
admin added the pull-request label 2026-01-22 16:12:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#12081