Open StenSoft opened 2 days ago
When creating a scope with T.newScope(), the scope has no source by default because T.createScope()'s source defaults to null instead of this.
T.newScope()
T.createScope()
source
null
this
https://github.com/InsertKoinIO/koin/blob/main/projects/android/koin-android/src/main/java/org/koin/android/scope/ComponentCallbacksExt.kt#L25
If this is intentional then:
newScope
When creating a scope with
T.newScope()
, the scope has no source by default becauseT.createScope()
'ssource
defaults tonull
instead ofthis
.https://github.com/InsertKoinIO/koin/blob/main/projects/android/koin-android/src/main/java/org/koin/android/scope/ComponentCallbacksExt.kt#L25
If this is intentional then:
newScope
needs to be able to passsource