Jason
01/29/2025, 1:56 AMsingle<IErrorService> { ErrorService() }
, I get 'No definition found for type IErrorService'. Need a way to print out what is in the koin registry somehow or any other insight. When I look at the koin instance in memory I can't see anything in the _instances container or anything else. Koin is initialized before I even try to resolve the instance also.
This is what I call from iOS to resolve the instance, I've only run into this issue on a new project, the first project I did same code it worked fine. Its like non of the modules are loaded in Koin as I can't resolve any type anymore.
public fun <T> koinGet(
clazz: KClass<*>,
qualifier: Qualifier? = null,
parameters: ParametersDefinition? = null
): T {
val koin = KoinPlatformTools.defaultContext().get()
return koin.get(clazz, qualifier, parameters)
}
CRamsan
02/02/2025, 6:13 PMKoinApplication(
application = {
// Log Koin to stdout
logger(PrintLogger(
level = Level.DEBUG,
))
// Load modules
modules(moduleList)
}
) {
content()
}