mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Deprecated notify change tracking policy #6586
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @beberlei on GitHub (Dec 8, 2020).
As apparent in #6380 and #6564 the notify change tracking policy has issues and no performance gains over deferred explicit. It should be deprecated during 2.* in some form and removed in 3.
@Arkemlar commented on GitHub (Aug 22, 2024):
Then, how do we force doctrine to update fields like json that holding nested objects? Specifically I'm talking about this case, which is suggesting to use clone, but that's kind of ugly.
Would be nice to be able to stay in deferred policy but explicitly set property as updated when needed. At the moment this would require dirty UOW hacks from the client-side code :(