danielgerlag / danielgerlag/workflow-core

Output operation is missing a context parameter

Open
#1,143 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
5.9k
Forks
1.3k
Avg merge
1d 1h
Merged PRs (30d)
5

Description

There is no way to get context information when setting output data on a step setup.
This is especially required in the context of a loop like ForEach step.
For instance :
```C#
builder
.StartWith()
.ForEach(data => new List { 0, 1, 2, 3, 4 })
.Do(x => x
.StartWith()
.Output( (step, data, context) => data.Items[context.Item] = step.Return )
.Then())
.Then();
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.