koin-annotations
koin-annotations copied to clipboard
Koin Annotations - About Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform insert-koin.io
In the same package and gradle module: ``` @Module @ComponentScan class Sources ``` and ``` @Single open class Preferences( private val prefs: SharedPreferences //
**Is your feature request related to a problem? Please describe.** When using Koin Annotations in a multi-module Gradle architecture, we need to declare a Koin module per each individual Gradle...
I believe KSP should generate: ```kotlin public val package_name_ModuleName : Module get() = module { // ... module internals ... } ``` instead of ```kotlin public val package_name_ModuleName : Module...
Unintuitive behavior for dependencies with default constructor arguments, as a consequence of #54 . Parameters with default values will never be injected even if candidates exist, but no warnings or...
**Describe the bug** It is OK for library modules to have some Missing Definition, this shouldn't be checked by KOIN_CONFIG_CHECK, or at least it shouldn't be the default behavior. **To...
How to provide a context to and class constructor in koin annotations I have the following class that needs an context for the sharedPreferences. However, when using koin annotations I...
**Describe the bug** Koin Annotations use org.koin.androidx.viewmodel package for all platforms to generate viewModel definition **To Reproduce** Steps to reproduce the behavior: 1. Declare ViewModel class in commonMain source set...