"Constructor with default arguments by" - wow! I d...
# koin
c
"Constructor with default arguments by" - wow! I did not even know this is possible. I've been postponing adoption of koin-annotations because for historical reasons my project uses default arguments a lot.
👍 2
a
we detect if there is default argument parameter and then let the default value
c
Is this what "Assisted Injection" means? Or is that a different concept?
a
assisted injection?
c
I've seen in some examples related to Dagger/Hilt. https://dagger.dev/dev-guide/assisted-injection.html
a
here, we just understand your Kotlin code. We detect all constructor param to inject by default
what do you expect behind this, just curious?
c
Sorry I think my question was not clear. I don't have much understanding about assisted injection. I came across it when I was looking at some examples related to Dagger/Hilt. For example, Circuit seems to use it. I was just curious if "Constructor with default arguments" is Koin's way of implementing Assisted Injection.