mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Drop automatic discriminator map discovery in 3.0? #6012
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 @Majkl578 on GitHub (Jul 3, 2018).
Originally assigned to: @Majkl578 on GitHub.
Proposal
Summary
Metadata factory is currently performing an auto-discovery of discriminator members. This is often problematic and leads to multiple serious issues in long-run:
We should deprecate and remove this behavior and replace it by
@DiscriminatorValue: #6612