Closed kbrock closed 2 months ago
depends upon:
When you setup a Parallel state, a single State may be run with multiple Context values.
Parallel
State
Context
So this changes State to pass the Context on execute (so a single State can handle multiple flows. - a kind of command/flyweight pattern if you will.
This is split up into quite a few commits to try and make the progression more palatable.
update:
workflow
State.new
State.build
validator
This pull request is not mergeable. Please rebase and repush.
Checked commits https://github.com/kbrock/floe/compare/41d484825d3daa2587588777073ff01797cdf716~...cc48d3871f1ae0ad7964bfec8249296889f41414 with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint 25 files checked, 0 offenses detected Everything looks fine. :+1:
merged #216 instead
depends upon:
When you setup a
Parallel
state, a singleState
may be run with multipleContext
values.So this changes
State
to pass theContext
on execute (so a singleState
can handle multiple flows. - a kind of command/flyweight pattern if you will.This is split up into quite a few commits to try and make the progression more palatable.