Injection services with different lifetimes
I am learning to work with DI-container correctly and cannot understand one point. I read that I cannot inject services with smaller lifetimes into services with bigger lifetimes. For example, I shouldn’t inject Scoped
services into Singleton
service. I cannot find information about the Transient
services inside the Scoped
service.