You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated module with their respective DSL are being generated with a deprecated code.
IRL -> We work with projects that treats warning as errors in projects
To Reproduce
Steps to reproduce the behavior:
setup a project with the latest koin, koin annotations and ksp compiler.
Create a viewmodel with Koin Annotations @KoinViewModel
Inject into MainActivity
Check the Module generated
Expected behavior
The generated module would be generated with the right dsl import org.koin.core.module.dsl.viewModel instead of import org.koin.androidx.viewmodel.dsl.viewModel
Describe the bug
The generated module with their respective DSL are being generated with a deprecated code.
IRL -> We work with projects that treats warning as errors in projects
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The generated module would be generated with the right dsl
import org.koin.core.module.dsl.viewModel
instead ofimport org.koin.androidx.viewmodel.dsl.viewModel
Koin module and version:
koin = "4.0.0"
koinKsp = "1.3.1"
kspPlugin = "2.0.20-1.0.24"
koinAndroid = { group = "io.insert-koin", name = "koin-android", version.ref = "koin" }
koinAndroidAnnotations = { group = "io.insert-koin", name = "koin-annotations", version.ref = "koinKsp" }
koinKsp = { group = "io.insert-koin", name = "koin-ksp-compiler", version.ref = "koinKsp" }
Snippet or Sample project to help reproduce
Add a snippet or even a small sample project to hel reproduce your case.
Commit -> felipezad/SpotlessApplication@5dff6f5
The text was updated successfully, but these errors were encountered: