DDC-869: repositoryClass poperty not possible on MappedSuperClass #1074

Closed
opened 2026-01-22 13:01:05 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Nov 9, 2010).

Originally assigned to: @guilhermeblanco on GitHub.

Jira issue originally created by user jkleijn:

It would be both practical and intuitive to support the "repositoryClass" metadata property on a MappedSuperClass. Any subclasses would inherit that custom Repo class, optionally overriding it.

With the current situation one would have to add the property to every subclass, which may lead to a lot of duplicate meta data.

Originally created by @doctrinebot on GitHub (Nov 9, 2010). Originally assigned to: @guilhermeblanco on GitHub. Jira issue originally created by user jkleijn: It would be both practical and intuitive to support the "repositoryClass" metadata property on a MappedSuperClass. Any subclasses would inherit that custom Repo class, optionally overriding it. With the current situation one would have to add the property to every subclass, which may lead to a lot of duplicate meta data.
admin added the Improvement label 2026-01-22 13:01:05 +01:00
admin closed this issue 2026-01-22 13:01:05 +01:00
Author
Owner

@doctrinebot commented on GitHub (Sep 8, 2011):

Comment created by @guilhermeblanco:

Fixed by this commit 7ebfc67d5a

@doctrinebot commented on GitHub (Sep 8, 2011): Comment created by @guilhermeblanco: Fixed by this commit https://github.com/doctrine/doctrine2/commit/7ebfc67d5a477380cd3ebac0e03e715d7a5f290c
Author
Owner

@doctrinebot commented on GitHub (Sep 8, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Sep 8, 2011): 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#1074