-
Notifications
You must be signed in to change notification settings - Fork 103
EntityManager::getRepository should return the correct EntityRepository class #2
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
Comments
That would be really great! |
Some discussion about this is in #8. |
Copying my comment from the PR discussion: Besides the point #1 from my comment here, if you're in need of this extension, you shouldn't call BTW: I'm not a fan of extending EntityRepository at all. It encourages huge god objects with many methods because of 1:1 mapping between repositories and entities. I like much more specific repositories for specific use-cases of an entity. For example one repository for getting translations, another repository for tree manipulation etc. So I reserve my right to be opinionated and close this PR. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The text was updated successfully, but these errors were encountered: