[Bug] Does not work for workflow with multiple args
What are you really trying to do?
Trying to run a TS workflow driven by the test bench. The TS workflow has multiple arguments.
Describe the bug
I looked into the code and it uses interface{} while in the executeWorkflow function it assumes ...interface{} When you make a config with args: [{"test":123}, {"test":123}] the workflow will be ran with 1 argument containing this array instead of the array. The args should be unpacked when input is an array.
I am not a Go developer so I don't know how to modify this best.
(Probably I will just port this code to TS anyway for easier construction / extension of the bench tests)
A potential easy solution is to expect []interface{} for args. (I will try this out) EDIT: This seems to work.