fireorm icon indicating copy to clipboard operation
fireorm copied to clipboard

Wrong getRepository when two collection with same name

Open duongvanba opened this issue 5 years ago • 1 comments

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

duongvanba avatar Oct 23 '20 14:10 duongvanba

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.

wovalle avatar Nov 08 '20 14:11 wovalle