Hey all - I've bumped my code to use the new Koin ...
# koin
k
Hey all - I've bumped my code to use the new Koin Extended DSL and am running into an issue. Using the old, deprecated DSL I could do
single<Element>(createdAtStart = true)
and if this was loaded post-start (i.e. in a later call to
loadKoinModules
) this would init the object immediately. However, using the new DSL with
singleOf(::Element) { createdAtStart() }
this is no longer the case. What can I do instead?