koin
koin copied to clipboard
Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform
**Description** After updating to Koin 3.2.0 from 3.1.6 my Compose app crashes with ``` java.lang.IllegalStateException: Compose Runtime internal error. Unexpected or incorrect use of the Compose internal runtime API (Start/end...
**Describe the bug** I initialize Koin with `allowOverride(false)` for safety, and in the most basic scenarios, it works: ``` startKoin { allowOverride(false) modules( module { single { "String" } single...
**Is your feature request related to a problem? Please describe.** No **Describe the solution you'd like** Recently the koinNavGraphViewModel() extension was extended with support for parameters. It would however be...
So I tried updating to 3.2.0 from Koin 2.x and I found an obscure bug. I reverted to lower versions until the problem was no longer present, which is **version...
```kotlin Android Studio Dolphin | 2021.3.1 Beta 5 Build #AI-213.7172.25.2113.8774922, built on June 28, 2022 Runtime version: 11.0.14.1+1-b1751.46 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 10.0...
When using two or more parameters of the same type when injecting, instead of passing `the value of the second argument` correctly to the expected parameter, the value of the...
Fix class names
Dagger 2 has a good feature ["Multibinding"](https://dagger.dev/multibindings). It allows injection of multiple dependencies into collection. It's useful to make access by a key in a map of objects to make...
How would this code be in Constructor DSL ```kotlin single { val client = KMongo.createClient().coroutine client.getDatabase(DATABASE_NAME) } ```