Skip to content

Set behaviour clarification #1040

Closed
@fjtirado

Description

@fjtirado

What would you like to be added:
It is unclear if Set task should replace the output of the workflow with the object result of the set task or it should add the properties to the existing input (so the output is actually merge of the input plus the set object)

Why is this needed:
One of the examples seems to take the merge approach (otherwise the first two sets are dead code), while one of the features seems to take the replacement approach (otherwise it would have just set the shape)

After some discussion (there are different view on that) , the feature wins over the example. The example needs to be corrected and the specification should clarify the behaviour of the task.

Metadata

Metadata

Assignees

Labels

area: exampleschange: fixSomething isn't working. Impacts in a minor version change.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions