https://kotlinlang.org logo
#koin-dev
Title
# koin-dev
a

Alexander Zhukov

06/23/2021, 8:42 AM
Hello everyone! Recently I updated Koin to 3.1.0 in our project and faced with problem described in https://github.com/InsertKoinIO/koin/issues/1121. Later i also see https://github.com/InsertKoinIO/koin/issues/1125 and figure out that this problem occurred in few our dependencies too. Seems like new parameter injection mechanism can't fully do same things that deprecated descructuring declaration. https://github.com/InsertKoinIO/koin/issues/1121 is can be easily fixed, but https://github.com/InsertKoinIO/koin/issues/1125 a bit more complicated, e.g. it can be fixed with parameter qualifiers, but it sounds like DI for DI, overkill. Maybe descructuring declaration is not bad idea? What you think about this problems?
a

arnaud.giuliani

06/23/2021, 8:43 AM
#1125 is more a limitations of injected parameters
#1121 is already fixed for 3.1.1
Destructured declaration is back also in 3.1.1
a

Alexander Zhukov

06/23/2021, 8:47 AM
Cool! Where i can see 3.1.1 sources? There is no branch / commits on github
a

arnaud.giuliani

06/23/2021, 9:29 AM
not yet pushed
t

tmoura

06/30/2021, 3:53 AM
I’ve added a comment but 3.1.1 don’t fix #1121
a

arnaud.giuliani

06/30/2021, 7:23 AM
was it working with destructured declarations?
t

tmoura

06/30/2021, 7:31 AM
yeah, for destructured it works fine 🙂
a

arnaud.giuliani

06/30/2021, 7:58 AM
ok, interesting
3 Views