mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3757: [GH-1417] Generator: Associations annotations improvement #4607
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 (Jun 6, 2015).
Originally assigned to: @Majkl578 on GitHub.
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of Soullivaneuh:
Url: https://github.com/doctrine/doctrine2/pull/1417
Message:
Doctrine\Common\Collections\CollectionbyRelatedEntity[]|\Doctrine\Common\Collections\ArrayCollectionusestatement for related entities and ArrayCollectionThis is a proposal for association mapping annotations improvement.
In a nutshell, I replaced
CollectionbyArrayCollectionon getter annotation becauseArrayCollectionis used on constructor. I also addRelatedEntity[]annotation which is more IDE friendly.I'm planning to add
usestatement too for FQN usage avoiding.If you this made some regressions, we could maybe introduce it as an option.
Regards