Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-869

repositoryClass poperty not possible on MappedSuperClass

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-BETA4
    • Fix Version/s: 2.1.2
    • Component/s: Mapping Drivers
    • Security Level: All
    • Labels:
      None

      Description

      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.

        Activity

        Show
        Guilherme Blanco added a comment - Fixed by this commit https://github.com/doctrine/doctrine2/commit/7ebfc67d5a477380cd3ebac0e03e715d7a5f290c

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            John Kleijn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: