Describe the bug
When using a custom annnotation class qualifier, koin is running to "def not found" error.
To Reproduce
Define qualifier like:
@Qualifier
annotation class MyAnnotation
Declare it like this in a module:
@Single
@MyAnnotation
fun provideMySingle(): A {
return A
}
Use it in a constructor like:
@MyAnnotation instance: A
Expected behavior
Works as expected.
Koin module and version:
4.2.0-RC1