Nullable `@InjectedParam` with null value causes the subsequents receive the wrong value.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start with the attached Koin_InjectedParam_Explanation.md to understand the nullable parameter-cursor failure, then trace the Koin compiler plugin code that handles @InjectedParam values and parametersOf. Reproduce a nullable parameter followed by a repeated type, and consider the issue resolved when the cursor advances past null and each subsequent parameter receives its intended value.
Written by the indexing model from the issue text.
Description
When a nullable @InjectedParam is passed null at runtime, Koin's parameter cursor stalls at that position. Any subsequent @InjectedParam whose type also appears earlier in the parametersOf array will silently receive the wrong value.
Below is the analytic in details.
Koin_InjectedParam_Explanation.md
- Dominant language
- Kotlin
- Stars
- 82
- Forks
- 15
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from InsertKoinIO/koin-compiler-plugin
-
type:improvement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
InsertKoinIO/koin-compiler-plugin#110 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
InsertKoinIO/koin-compiler-plugin#107 · 2 reactions ·
All issues in InsertKoinIO/koin-compiler-plugin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Good First Issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ankidroid/Anki-Android#21942 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
libre-tube/LibreTube#8781 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
MetrolistGroup/Metrolist#4396 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100