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

Wrong getRepository when two collection with same name #202

Open
duongvanba opened this issue Oct 23, 2020 · 1 comment
Open

Wrong getRepository when two collection with same name #202

duongvanba opened this issue Oct 23, 2020 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@duongvanba
Copy link

Hi
When I name collection and other sub collection with same name, getRepository return wrong
Can you fix that ?

@wovalle wovalle added bug Something isn't working help wanted Extra attention is needed labels Nov 8, 2020
@wovalle
Copy link
Owner

wovalle commented Nov 8, 2020

Due to the way getRepository works, makes sense this happens. I can only think of ranking collections first when calling getRepository to give cols priority over subcolls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants