mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #5962] Allow manyToOne associations to be embedded #9801
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?
Original Pull Request: https://github.com/doctrine/orm/pull/5962
State: closed
Merged: No
We've recently faced, that embeddables are not allowed to have an oneToMany relation. My investigations basically finished that it could be solved by several lince of code, allowing inlining the embeddable's relations into the parent entity.
I'm not sure that I've patched all the placed and did it properly, so I'm ready to any improvements.
Currently we have to override the metadata factory to use patched class metadata class
Fix #4291