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
Some repositories have become too big. Maybe encapsulating the logic in custom repositories that get the regular one injected would allow to split the logic.
The text was updated successfully, but these errors were encountered:
Finally created a new factory that allows injecting repositories with split logic, but they currently have to extend doctrine's EntityRepository, as not all methods are public and encapsulating them instead makes some tasks too complex. Even more while using happyr/doctrine-specification.
Not ideal, but an improvement over having a gigantic single repository which is not accessed byt resolved via $em->getRepository(...)
Some repositories have become too big. Maybe encapsulating the logic in custom repositories that get the regular one injected would allow to split the logic.
The text was updated successfully, but these errors were encountered: