tape icon indicating copy to clipboard operation
tape copied to clipboard

Support for complex (struct) arguments

Open Nova38 opened this issue 3 months ago • 6 comments

Is your proposal related to a problem?

Currently the config file only allows for the arguments to be of the following types: uuid, randomString$length, randomNumberA_B. However chain codes can also take structs as the arguments instead for using just a list of variables. I have found that using structs instead of positionall arguments is a bit more reliable way to prevent errors when passing parameters.

Describe the solution you'd like

Allow for parameters to take the shape of a yaml object using the same random types to populate the fields

Describe alternatives you've considered

I currently am using hyperledger caliper as its workflows supports arbitrary parameters types

Nova38 avatar Mar 16 '24 22:03 Nova38