Open
Description
Now, when changing command parameters without explicitly specifying the types of arguments, the InvokeCommand (ICommand) overload is called, which ignores the input type and throws an exception only during runtime.
// this throws runtime exception
_ = Observable<Input>()
.Select(_ => OtherTypeInput)
.InvokeCommand(Command);
// this throws compile time exception
_ = Observable<Input>()
.Select(_ => OtherTypeInput)
.InvokeCommand<Input, Output>(Command);
// should throw compile time exception
_ = Observable<Input>()
.Select(_ => OtherTypeInput)
.InvokeCommandSafe(Command);
other suggested names: InvokeReactiveCommand