mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-4020: Dynamic entity mapping #4905
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 @doctrinebot on GitHub (Nov 25, 2015).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user waldemarnt:
I need a way to create relations on the fly, and I choose the Event of the doctrine that is launched when load the class meta data, loadClassMetadata()
Ok, worked but the problem is when the doctrine will set the data for this relations he throw this exception "Notice: Undefined index: newsNews" I've checked the class when the doctrine will attach this data and the newsNews field is missing in the reflection properties. I don't know if I forget some part of this process xD
Thanks for the help
@Ang3 commented on GitHub (Apr 15, 2017):
Same problem with this simple code :
@Ocramius commented on GitHub (Apr 15, 2017):
The best you can do for now is emulating the behavior of the existing mapping drivers.
Closing here as
won't fix, as @guilhermeblanco is creating a metadata builder for V3, which will likely change the API for this stuff entirely.@guilhermeblanco commented on GitHub (Apr 15, 2017):
This is already fixed in
develop.