Handling Multiple Database Instances with `.provideService`
Haven't made my mind with .provide yet
I'm trying
So let's say I have two database instances, both implementing the SqlLayer, one for cluster another for business logic.
What's the proper way to work with them both?
I was doing .provide for one and another in two layers, but I guess that's wrong because the tag is unique and it'll get merged.
So should I use
So let's say I have two database instances, both implementing the SqlLayer, one for cluster another for business logic.
What's the proper way to work with them both?
I was doing .provide for one and another in two layers, but I guess that's wrong because the tag is unique and it'll get merged.
So should I use
.provideService in these cases?