Fix getRepository for Collections and Subcollections with the Same Name #25
Labels
bug
Something isn't working
from_willyovale
An issue described in original project, but never implemented
Description
When naming a collection and a subcollection with the same name, the
getRepository
function returns incorrect results. This issue arises due to the waygetRepository
prioritizes collections and subcollections.Steps to Reproduce
getRepository
to retrieve the repository.Expected Behavior
The
getRepository
function should correctly distinguish between collections and subcollections with the same name, giving priority to collections.Actual Behavior
The
getRepository
function returns the wrong repository when collections and subcollections have the same name.Acceptance Criteria
getRepository
to rank collections first, giving them priority over subcollections.getRepository
in this scenario.Additional Context
getRepository
.Original Issue
The text was updated successfully, but these errors were encountered: