I've 2 instances of `retrofit` and I'm willing to ...
# koin
k
I've 2 instances of
retrofit
and I'm willing to use one of them as default when no qualifier is provided. I've multiple APIs being initiated from Retrofit insance. How can I simplify folliwing snippet
Copy code
apiModule = module {
    single<AuthApi> { get<Retrofit>(named("main")).create() }
    single<VisitorEventsApi> { get<Retrofit>(named("main")).create() }
    // many such APIs
}