Is there an equivalent of a Guice child injector i...
# koin
r
Is there an equivalent of a Guice child injector in Koin?
How to implement something like this (injectable
ApplicationCall
) with Koin? https://github.com/ktorio/ktor-samples/blob/1.3.0/feature/guice/src/GuiceApplication.kt#L18
a
Hello, what is the idea? put the container in attribute?
r
It's not about putting the cointainer in the attribute but rather about creating a bit different container instance for every request. This way, when using it to create components we can inject
ApplicationCall
into other components. It's like having a request scope.