get-convex / get-convex/workflow

Make it easy to pass stepOrder ~~stepId~~ to function you're calling

Open
#37 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
81
Forks
17
Avg merge
1d 3h
Merged PRs (30d)
4

Description

right now steps that are executing don't know they're a step or what their ID is. Maybe that's an issue?

What about

`await step.runAction(ctx, internal.foo.bar, ({stepId}) => { stepId, ...myArgs});`

- it's explicitly a parameter
- we can provide the stepId inside the closure (where it will exist)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.