Repo pattern - is it okay to call one repo from multiple services?
Hi,
pretty much the title summarizes it all.
In one code base I am refactoring I am seeing a lot of calling from multiple services classes to one repository - most likely to bypass circular dependencies.
Is it a good practice? Why yes? Why not?
I usually try to keep calls between services to make sure business logic is checked at all times.
pretty much the title summarizes it all.
In one code base I am refactoring I am seeing a lot of calling from multiple services classes to one repository - most likely to bypass circular dependencies.
Is it a good practice? Why yes? Why not?
I usually try to keep calls between services to make sure business logic is checked at all times.
