In a component with the default model and the modelRelay option as this:
The expected model structure after instantiating this component is:
However, in the result model, the default value "value1" in the source array element "forArrayToSetMembership" for "fluid.transforms.arrayToSetMembership" disappears that causes the relay generates the wrong target model value that looks like:
To produce it, two things to pay attention:
1. The source array element for "fluid.transforms.arrayToSetMembership" has at least one array value;
2. Must have at least another relay in the modelRelay option besides "fluid.transforms.arrayToSetMembership".
Note that once removing other relays from modelRelay option and having "fluid.transforms.arrayToSetMembership" as the only transformation in there, the relay works fine with keeping the source array value intact and creating the correct target model.