DDC-3503: [GH-1257] Resolve target entity also in discriminator map (allows interfaces and custom names in discriminator map) #4316

Closed
opened 2026-01-22 14:39:20 +01:00 by admin · 6 comments
Owner

Originally created by @doctrinebot on GitHub (Jan 15, 2015).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of Ocramius:

Url: https://github.com/doctrine/doctrine2/pull/1257

Message:

This PR supersedes #1130 ([DDC-3300](http://www.doctrine-project.org/jira/browse/[DDC-3300]%28http://www.doctrine-project.org/jira/browse/DDC-3300%29)).

The final aim of the PR is to be able to define following in discriminator maps:

/*** @DiscriminatorMap({"foo" = "FooInterface", "bar" = "BarConcreteImpl"}) **/
Originally created by @doctrinebot on GitHub (Jan 15, 2015). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of Ocramius: Url: https://github.com/doctrine/doctrine2/pull/1257 Message: This PR supersedes #1130 ([[DDC-3300](http://www.doctrine-project.org/jira/browse/DDC-3300)](http://www.doctrine-project.org/jira/browse/[DDC-3300]%28http://www.doctrine-project.org/jira/browse/DDC-3300%29)). The final aim of the PR is to be able to define following in discriminator maps: ``` php /*** @DiscriminatorMap({"foo" = "FooInterface", "bar" = "BarConcreteImpl"}) **/ ```
admin added the New Feature label 2026-01-22 14:39:20 +01:00
admin closed this issue 2026-01-22 14:39:20 +01:00
Author
Owner
@doctrinebot commented on GitHub (Jan 15, 2015): - is required for [DDC-3300: [GH-1130] [WIP] Added resolve entities support in discrim. map](http://www.doctrine-project.org/jira/browse/DDC-3300) - is referenced by [DDC-3512: Redesign ClassMetadata API as ValueObject based (for type-safety and self-documentation)](http://www.doctrine-project.org/jira/browse/DDC-3512)
Author
Owner

@doctrinebot commented on GitHub (Jan 15, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1130] was assigned:
https://github.com/doctrine/doctrine2/pull/1130

@doctrinebot commented on GitHub (Jan 15, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1130] was assigned: https://github.com/doctrine/doctrine2/pull/1130
Author
Owner

@doctrinebot commented on GitHub (Jan 16, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1257] was assigned:
https://github.com/doctrine/doctrine2/pull/1257

@doctrinebot commented on GitHub (Jan 16, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1257] was assigned: https://github.com/doctrine/doctrine2/pull/1257
Author
Owner

@doctrinebot commented on GitHub (Jan 16, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1130] was closed:
https://github.com/doctrine/doctrine2/pull/1130

@doctrinebot commented on GitHub (Jan 16, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1130] was closed: https://github.com/doctrine/doctrine2/pull/1130
Author
Owner

@doctrinebot commented on GitHub (Jan 22, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1257] was closed:
https://github.com/doctrine/doctrine2/pull/1257

@doctrinebot commented on GitHub (Jan 22, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1257] was closed: https://github.com/doctrine/doctrine2/pull/1257
Author
Owner

@doctrinebot commented on GitHub (Jan 22, 2015):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Jan 22, 2015): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4316