-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I have a simple blueprint with three nodes, where the last node takes in the output of the first node, like so:
const blueprint: WorkflowBlueprint = {
id: 'simple-workflow',
nodes: [
{ id: 'start', uses: 'start-node' },
{ id: 'middle', uses: 'middle-node' },
{ id: 'end', uses: 'end-node', inputs: 'start' }
],
edges: [
{ source: 'start', target: 'middle' },
{ source: 'middle', target: 'end' }
]
};I'd like to transform the input to only capture a deeply nested value in the input using an edge transform:
const blueprint: WorkflowBlueprint = {
id: 'simple-workflow',
nodes: [
{ id: 'start', uses: 'start-node' },
{ id: 'middle', uses: 'middle-node' },
{ id: 'end', uses: 'end-node', inputs: 'start' }
],
edges: [
{ source: 'start', target: 'middle' },
{ source: 'middle', target: 'end', transform: 'input.deeply.nested.value' }
]
};However, the transform is getting ignored.
Metadata
Metadata
Assignees
Labels
No labels