You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The merge method is removed from the ObjectManager interface in doctrine/persistence 3.0 and as such we are free to deprecate (and eventually remove) it as well. Throughout the years the merge operation was one of the most misused functionality across all Doctrine's data mappers. Having said that the merge functionality has its value when caching comes into play, especially since the ODM does not provide a second level cache (like ORM does). Removing merge without any replacement (as we plan) would effectively block users from upgrading to a next major version.
Given the circumstances we're not deprecating merge just yet, consider this issue as a friendly warning instead. If you use merging documents for performance reasons please do let us know! If no (valid TM) objections are raised and enough (TM) time passes we may proceed with deprecation process before the 3.0 release.
The text was updated successfully, but these errors were encountered:
The
merge
method is removed from theObjectManager
interface indoctrine/persistence
3.0 and as such we are free to deprecate (and eventually remove) it as well. Throughout the years themerge
operation was one of the most misused functionality across all Doctrine's data mappers. Having said that themerge
functionality has its value when caching comes into play, especially since the ODM does not provide a second level cache (like ORM does). Removingmerge
without any replacement (as we plan) would effectively block users from upgrading to a next major version.Given the circumstances we're not deprecating
merge
just yet, consider this issue as a friendly warning instead. If you use merging documents for performance reasons please do let us know! If no (valid TM) objections are raised and enough (TM) time passes we may proceed with deprecation process before the 3.0 release.The text was updated successfully, but these errors were encountered: