Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove custom repository mappings #2

Closed
wants to merge 1 commit into from
Closed

Remove custom repository mappings #2

wants to merge 1 commit into from

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Dec 23, 2010

No description provided.

Repository classes cannot be defined for mapped superclasses.
@schmittjoh
Copy link

So, you always need to define it explicitly on the sub-class?

@jmikola
Copy link
Member Author

jmikola commented Dec 23, 2010

Correct. The UserBundle documentation remains correct form when I revised it a few days ago, so I only had to clean up the mappings here.

Mapped super-classes don't support a repository definition at all, actually (if you check the ORM/ODM docs). Mapped documents certainly do, but the definition is explicitly omitted from the inheritance. I submitted a patch for this, but after talking it over with jwage and beberlei, we decided it was possibly an invitation for ambiguous behavior, so the pull request was closed.

@ornicar
Copy link

ornicar commented Dec 23, 2010

Applied

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants