I study the code and was not able to find a fix working in the plugin.
But I was able to fix adding the strict$ property in pin inside client function in seneca library.
Apparently it do not affect seneca test but fixed this plugin. I am not sure if it can cause side effects.
This problem cause problems in seneca-mesh plugin too, since it depends on this one. It is even moe critical in this case because you do not have control over add order.
Works as expected resulting in:
The following code where I just change the order:
Does not work as expected resulting in:
I study the code and was not able to find a fix working in the plugin.
But I was able to fix adding the strict$ property in pin inside client function in seneca library.
Apparently it do not affect seneca test but fixed this plugin. I am not sure if it can cause side effects.
This problem cause problems in seneca-mesh plugin too, since it depends on this one. It is even moe critical in this case because you do not have control over add order.
Preparing a PR for your evaluation.
Thanks.
Congrats for your great work.
Aloha!
Rafael Sobral
PS: Code above is in coffescript