koin-annotations
koin-annotations copied to clipboard
Koin Annotations - About Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform insert-koin.io
**Describe the bug** Adding `@ComponentScan` to an `object` annotated with `@Module` that contains annotated functions does not work. The package is not scanned for other annotated values (or if it...
I just switched to koin 3.2 & annots 1.0.0 versions. I'm using it in one of my android library modules. the issue is my recyclerview.adapter classes are not detected and...
**Describe the bug** Ksp generator removes sealed interface from path. **To Reproduce** Steps to reproduce the behavior: 1. Create sealed Interface: ``` sealed interface SealedInterface { interface InternalInterface : SealedInterface...
Fixed Compose ViewModel importing incorrect package names under default module
**Describe the bug** when put AppModule in root(without any package), generated code is in the syntax error. ```kotlin @Module @ComponentScan class AppModule ``` put in root generated code ```kotlin package...
**Describe the bug** No matter where I add ```kts ksp { arg("KOIN_USE_COMPOSE_VIEWMODEL", "true") } ``` , it still import `org.koin.androidx.viewmodel.dsl.viewModel` **Expected behavior** import `org.koin.compose.viewmodel.dsl.viewModel` **Koin project used and used version...
Hi, Better explaining with an example Currently, I'm getting the instance of my logger with a custom tag by injecting with `@InjectedParam` ```kotlin @Factory fun getLoggerWithTag( @InjectedParam tag: String?, loggerConfig:...
**Describe the bug** In our case, we have several hundred (around 600) annotated classes in our gradle module. Using `@ComponentScan()` will produce single module with single lambda containing everything found....
## Summary This PR enhances the `@ComponentScan` annotation in Koin Annotations to support glob patterns. Currently, `@ComponentScan` only allows specifying a single, exact package name per Koin module. With this...