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
I’d like to emphasize the impact of this issue on my project, as it currently prevents me from re-creating instances with new parameters in Compose, which is essential for my use case. The previous get function behavior met this need, and its absence limits Koin's utility in parameter-dependent scenarios.
Describe the bug
Composable fun koinInject() does not recreate the entity with new parameters in last versions of Koin (3.5.3, 4.0.0-RC2).
Old version of deprecated fun get() - solves the problem (but with nuances):
Version 3.5.3 - does not solve the problem:
Version 4.0.0 - does not solve the problem:
Expected behavior
The fun koinInject() should recreate the entity when the parameters change, like the previous fun get().
Koin module and version:
koin-compose
3.5.3 - 4.0.0-RC2
Snippet or Sample project to help reproduce
https://gist.github.com/puritanin/e23d9948f1909d2dbbb8d34675969e95
The text was updated successfully, but these errors were encountered: