You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would have thought the 3rd case would work: after all the manager registry can retrieve the correct manager using getManagerForClass() internally.
Would it make sense to have getRepository() use getManagerForClass() internally to retrieve the repository in the correct manager?
The text was updated successfully, but these errors were encountered:
Ocramius
changed the title
getRepository does not use "getManagerForClass" internallyManagerRegistry#getRepository() does not use getManagerForClass() internally
Mar 28, 2019
Assuming the
Foo
class is not in the default entity manager:Foo
is looked into the default manager):I would have thought the 3rd case would work: after all the manager registry can retrieve the correct manager using
getManagerForClass()
internally.Would it make sense to have
getRepository()
usegetManagerForClass()
internally to retrieve the repository in the correct manager?The text was updated successfully, but these errors were encountered: