Hey team i'm facing strange issue when using name ...
# koin
s
Hey team i'm facing strange issue when using name qualifier can someone tell whats wrong here and how can i set? Koin Version 4.1.1 Issue: _Type is not declared in Koin modules: retrofit2.Retrofit (auth_retrofit)_
Copy code
internal val authApiModule = module {
    single<Retrofit>(named(AUTH_RETROFIT_QUALIFIER)) {
        Retrofit.Builder()
            .baseUrl("<https://api.example.com/>") // Base URL must be set here
            .addConverterFactory(GsonConverterFactory.create())
            .client(get<OkHttpClient>(qualifier = named(OKHTTP_CLIENT_QUALIFIER)))
            .build()
    }

    factory<AuthApi> {
        provideApi(
            get<Retrofit>(qualifier = named(AUTH_RETROFIT_QUALIFIER)),
            AuthApi::class.java
        )
    }
}
and AuthApi module is added to main module
Copy code
val authFeatureModule = module {

    includes(authNavModule, authApiModule, authMainModule)
}
a
sounds like a Koin plugin thing right? it's in the IDE?