mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Best method for an entity to detect if an embedded object was changed? #5471
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 @BabakMN on GitHub (Mar 22, 2017).
Originally assigned to: @Ocramius on GitHub.
On a
Userentity with an embeddedBillingDetailsI'm using the following inpreUpdate:It looks for at least one changed field that begins with
billingDetails.. Is there more proper way of achieving this?Edit: Fixed typo