Is there a more elegant way to inject a dependency...
# koin
t
Is there a more elegant way to inject a dependency inside a module from another module than doing
Copy code
data class DbHolder(val db: AppDatabase)
single { DbHolder(db = get()).db }