How do I create all instances of koin classes mark...
# koin
g
How do I create all instances of koin classes marked as
createAtStart
on application initialisation? I'm using ktor and classes do not get instantiated with the following code:
Copy code
install(Koin) {
        slf4jLogger(Level.valueOf(ApplicationConfig.logLevel.levelStr))
        modules(LogicModule().module, ClientModule().module, DataModule().module)
    }
1
Solved it with
createEagerInstances
inside the
install
block
👍 1