Davide Giuseppe Farella
04/28/2023, 10:14 AM@Module(
includes = [
// ~70 modules
]
)
class CineScoutModule
and its related test using org.koin.test.check.checkKoinModules
.
My problem is that whenever any of these modules don’t compile, I have this kind of error:
e: file:///~/build/generated/ksp/jvm/jvmMain/kotlin/org/koin/ksp/generated/CineScoutModuleGencinescout$di$kotlin.kt71831 Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public val KotlinUtilsModule.module: Module defined in org.koin.ksp.generated
public val AccountDomainModule.module: Module defined in org.koin.ksp.generated
(all the dependent modules)And it’s impossible to track down the root cause. Is there anything that can be done on my side to debug or on Koin’s side to improve that?
arnaud.giuliani
05/09/2023, 4:40 PMarnaud.giuliani
05/09/2023, 4:41 PMDavide Giuseppe Farella
05/13/2023, 9:11 AMJacob Ras
05/13/2024, 10:26 AMUnresolved reference. None of the following candidates is applicable because of receiver type mismatch
.
And then there's a list of the modules:
public val NetworkModule.module: Module defined in org.koin.ksp.generated
public val PlatformModule.module: Module defined in org.koin.ksp.generated
+1 more.
In the build folders I see that the KSP modules are generated correctly (as the lines above point out).Davide Giuseppe Farella
05/13/2024, 11:16 AMJacob Ras
05/13/2024, 11:17 AM