❔ Is something like this possible with the default DI package?
So what I want to do is like this
How scopes work normally:
Autofac might allow this too? I'm not sure.
How scopes work normally:
- global scope
- scope 1
- scoped service A
- scoped service B
- scope 2
- scoped service A (different instance)
- scoped service B (different instance)
- scope 1
- global scope
- scope 1
- service A
- scope 1.1
- service A resolved to the one of the parent
- service B
- scope 1.2
- different instance of service B
- scope 1
Autofac might allow this too? I'm not sure.