[PR #633] [DDC-2042] Added "targetEntity" to AssociationOverride #8485

Closed
opened 2026-01-22 16:00:08 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/633

State: closed
Merged: No


Hey,

I needed to override "targetEntity" so I forked Doctrine and applyed it myself. Just after that I found a Ticket [DDC-2042] in your Jira so I added a unit test to and would be more than happy to see this commit get merged in to the main master (at some point ;)).

Cheers, Alex

I will stick around in the #doctrine-dev on Freenode for any questions. My nick there is "fanta".

Keep up the good work.

/**

  • @ORM\Entity
  • @ORM\Table(name="customer")
  • @ORM\AssociationOverrides({
  •  @ORM\AssociationOverride(name="products",
    
  •      targetEntity="MyNewProduct"
    
  •  )
    
  • })
    */
**Original Pull Request:** https://github.com/doctrine/orm/pull/633 **State:** closed **Merged:** No --- Hey, I needed to override "targetEntity" so I forked Doctrine and applyed it myself. Just after that I found a Ticket [DDC-2042] in your Jira so I added a unit test to and would be more than happy to see this commit get merged in to the main master (at some point ;)). Cheers, Alex I will stick around in the #doctrine-dev on Freenode for any questions. My nick there is "fanta". Keep up the good work. /** - @ORM\Entity - @ORM\Table(name="customer") - @ORM\AssociationOverrides({ - @ORM\AssociationOverride(name="products", - targetEntity="MyNewProduct" - ) - }) */
admin added the pull-request label 2026-01-22 16:00:08 +01:00
admin closed this issue 2026-01-22 16:00:08 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8485