mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Allow relationship overriding #6361
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 @tom10271 on GitHub (Dec 4, 2019).
Feature Request
Summary
I was using Sylius 1.6 adn want to set
cascade={"persist"}byTurns out it will not work and I found there are
AssociationOverridesandAttributeOverrides. After checking there is will no way to addcascade={"persist"}into relationship setting, it is troublesome to setup a event listener and override there, although it seems I have no choice.@SenseException commented on GitHub (Dec 8, 2019):
Hi @tom10271, are those overrides in the base class of Sylius or in the custom
ProductTaxon?@andreo-code commented on GitHub (Apr 21, 2021):
Up.The cascade property in doctrine cannot be overridden