Closed Coledunsby closed 3 years ago
Allows for forwarding arguments when there are multiple.
Example:
register { _, args in SomeViewController(viewModel: resolve(args: args)) } register { _, args in SomeViewModel(arg1: args("arg1"), arg2: args("arg2")) }
Currently,
args
["" : args]
args()
Just pushed pod 1.4.1 with this change.
Allows for forwarding arguments when there are multiple.
Example:
Currently,
args
, it will be wrapped (["" : args]
)args()
, it will crash due to there being multiple arguments