Closed aradomski closed 5 months ago
Proposition of solution #1741
Duplicate of #1456
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@arnaudgiuliani don't tell me you followed the accompanist footsteps and added this garbage bot. Please remove it as all open issues are still valid. It is simpler for me to remove Koin from my project than to keep the issues not fixed for years open by commenting on them over and over.
@arnaudgiuliani this is not completed
When I'm passing mix of nullable and non-nullable parameters using
parameterArrayOf
,InstanceCreationException
appears because koin attempts to cast null as next parameter typeTo Reproduce See snippet
Expected behavior When using method
getOrNull
null is returned, when null was provided and internal index ofParametersHolder
is incremented . Next callget
orgetOrNull
should provide appropriate item from array provided byparameterArrayOf
Koin module and version:
koin-core:3.5.0
Snippet or Sample project to help reproduce Tested on android