https://kotlinlang.org logo
#koin
Title
p

poohbar

10/20/2019, 3:39 PM
Hi. I am using Koin in Ktor. I use constructor injection everywhere except in the
Application.module
extension function where I have to use
by inject
to avoid
KoinApplication has not been started
exception. However, because of the lazy behavior it takes until a controller is hit to find out about the failure. Can I somehow force the bean creation at startup?