Laurent Thiebaud
07/30/2025, 3:05 PMkoinApplication
, I inject some services within (using single
and declare
)
On runtime I inject other services using by inject<...>()
Then when injected service is resolved, I have error KoinApplication has not been started
It seems it tries to resolve other services using the global context
Should I inject other services always using the koinApplication
instance? (if so this is extremely boring)
(this is next to my other question here)arnaud.giuliani
08/08/2025, 7:16 AMstartKoin
instead of koinApplication
, else you won't have globval context started