mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Relationships with @Embedded column #5901
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 @ivaaaan on GitHub (Feb 25, 2018).
Originally assigned to: @Ocramius on GitHub.
Environment: PHP 7.1.7
Doctrine: 2.6
Symfony: 4
I have
@Embeddableclass for id:And two classes that have
@ManyToOnerelationship:And
Userclass:When I trying to create schema I got error:
No mapping found for field 'id' on class 'App\Entity\User'..@Ocramius commented on GitHub (Feb 25, 2018):
Support of identifiers within
@Embeddableis not really there yet, sorry.@ivaaaan commented on GitHub (Feb 25, 2018):
@Ocramius so sad. any plans to realize that?
@Ocramius commented on GitHub (Feb 25, 2018):
Nope, but you can attempt sending a patch :)
@IvoPereira commented on GitHub (Nov 18, 2021):
Were there any developments on this meanwhile @Ocramius?
@Ocramius commented on GitHub (Nov 18, 2021):
No, you would see a public issue/PR for it otherwise.
In open source, you pick it up yourself, @IvoPereira.