get-convex / get-convex/workflow
Using `ctx.runWorkflow` in a migration
Open
- Dominant language
- TypeScript
- Stars
- 81
- Forks
- 17
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 4
Description
Sometimes I want to run a workflow from a migration because I need to paginate through a big table (e.g. messages) and make some changes triggered by data from the main table that I'm migrating over (e.g. threads). I would love to be able to run context.runWorkflow inside a migration so that I can guarantee that the workflow has completed running when that migration is done before I move on to the next one.
Contributor guide
Assessment
This issue has not been assessed yet.