Is there a way to have default params? Let’s say I...
# koin
d
Is there a way to have default params? Let’s say I want to have something like
Copy code
factory { MyParams(...) }

factory { (p: MyParams) -> MyClass(param = p) }
factory { MyClass(param = get() }
t
Destructuring declarations are nice, but not necessary. Instead you could achieve the same manually using
DefinitionParameters
directly.