mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3058: [GH-993] Update JoinColumn.php #3796
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 (Mar 28, 2014).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of KamilKopaczyk:
Url: https://github.com/doctrine/doctrine2/pull/993
Message:
If $referencedColumnName = 'id' by default, it doesn't make sense to make checks like:
(ClassMetaDataInfo file)
Considering you map your column
You'll get JoinColumn with 'id' value, which doesn't let doctrine use naming strategies for referenced column names
@doctrinebot commented on GitHub (Apr 21, 2014):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-993] was closed:
https://github.com/doctrine/doctrine2/pull/993
@doctrinebot commented on GitHub (Apr 21, 2014):
Comment created by @guilhermeblanco:
Unfortunately, while this is true for Annotations (it can never be empty), it is not for XML, YAML and PHP itself.
When using Annotations, we keep convention over configuration as the standard, providing the default id, while we require further configuration on other drivers.
Closing as invalid.
@doctrinebot commented on GitHub (Apr 21, 2014):
Issue was closed with resolution "Invalid"