Open bra1n opened 7 years ago
@bra1n Hi, there.
Thanks for letting me know of this. Wasn't aware of the feature. It should definitely be supported by the plugin.
I'll start working on it.
Thanks for the quick response, looking forward to it! :-)
@bra1n On a first, shallow look into this, it seems like support for this is missing in seneca-transport. Still unsure, though.
Will keep on digging.
Ok, I can confirm this, @bra1n. seneca-transport -which is what all transports are/should be based on- does not support multiple arguments.
Take a look at this line. That's the actual .act
call that ends up invoking your remote action. See that it completely ignores arguments other than the very first in the callback (called out
here).
Huh, interesting. I opened an issue there as well. Thanks for the reasearch, @nfantone 👍
@bra1n Seems like we both did.
Haha, I'll close mine then.
@bra1n No problem at all. Thanks.
Let's leave this open to track progress and alert other people, since it's affecting the transport.
Good spot, BTW.
Example:
Expected output:
Actual output:
Seneca supports more than 2 arguments in act callbacks since #340.