koin-annotations icon indicating copy to clipboard operation
koin-annotations copied to clipboard

Koin Annotations - About Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform insert-koin.io

Results 104 koin-annotations issues
Sort by recently updated
recently updated
newest added
trafficstars

**Is your feature request related to a problem? Please describe.** I am developing a ksp processor for generating a koin module from ktorfit declarations. https://github.com/dshatz/ktorfit-koin The user creates a class:...

type:feature-request

This allows the optional modules of lazy-annotations and lazy-compiler. The goal here was to be able to use lazyModule with annotations.

type:feature-request

**Describe the bug** A multi-module project run with an error when using classes with the same name. **To Reproduce** Module 1 ``` package testproject.test1 @Single class Test{} @Single class Test1(val...

i want to pass a parameter through a module constructor like this: ``` @Module class ApplicationModule(private val context: Context) { @Factory @Qualifier(name = AppIdentifier.applicationContext) fun applicationContext(): Context = context }...

# **Describe the bug** When `KOIN_CONFIG_CHECK` is enabled for Koin compile-time checks, the compilation fails with: ``` [ksp] java.lang.IllegalStateException: can't find module metadata for [...] in current modules or any...

status:checking 🤔

## Describe the bug KSP 2.1.20-1.0.32 is the last version in which the automatic modules discovery using `@KoinApplication` works properly in multi-module Multiplatform project. In any later version the build...

type:documentation
important 🔥
Workaround 🚸

**Describe the bug** Within Module blocks generated using the `@Module` and `@ComponentScan` annotations, the order of declarations varies across different environments, resulting in failed reproducible builds for F-Droid. ```kotlin package...

**Describe the bug** When adding another annotation before @InjectedParam, the code fails to compile. However, placing annotation after @InjectedParam compiles successfully. **To Reproduce** Steps to reproduce the behavior: Open examples/coffee-maker-module/src/main/kotlin/org/koin/example/test/ext/ExternalModule.kt...

`@Single(binds = [])` and `@Factory(binds = [])` are expected to clear all bindings, but currently, all supertypes are still registered. To resolve this, remove the `isNotEmpty()` check from the `forceDeclaredBindings`...

**Describe the bug** Using an `@InjectedParam` with some type that has nested type arguments (e.g. `List`) causes incorrect generation of a lambda factory in the containing module. Probably related to...