-
-
Notifications
You must be signed in to change notification settings - Fork 776
Open
Description
Describe the bug
I have next code:
interface Test {
fun doSomething()
}
class TestTest: Test {
override fun doSomething() {
TODO("Not yet implemented")
}
}
internal class MyViewModel(
private val test: Test,
) : ViewModel()
And koin module:
val myKoinModule = module {
viewModel<MyViewModel>()
}
This just compiles.
Expected behavior
While I would expect compilation issue since Test is not provided in koin graph.
Koin module and version:
koin-core = "4.2.0-RC1"
koin-compiler-plugin = "0.3.0"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels