Can I inject nullable `DefinitionParameters` to an...
# koin
p
Can I inject nullable
DefinitionParameters
to android
ViewModel
in koin? It fails when I try to and value is
null
(
InstanceCreationException
is thrown).
a
yep, it’s a limitation for now
p
ok, fine 👌
it encourages me to come up with better abstractions for
ViewModel
inputs 🙂
👍 1
as with compose navigation and query parameters it might be tempting to pass primitive/nullable types