Understanding Contexts and Services for External Libraries
Hey! I am trying to understand the core concepts (scopes, layers, contexts, etc).
Let's say that I am using an external library that interact with some kind of external service (let's say a db).
I have to:
- Create a context for the services (I have more than this one)
- Create the services
- Use
Is it correct or am I completely wrong?
Let's say that I am using an external library that interact with some kind of external service (let's say a db).
I have to:
- Create a context for the services (I have more than this one)
- Create the services
- Use
acquireRelease where acquire creates an instance of my Database (external library) and connects to it. Then release disconnects itIs it correct or am I completely wrong?
