Repository navigation
Shareable traces for guards and cancel in a small edit workflow #752
PerchAnton
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I made a two-state draft-edit example using transitions and my interaction-check runner. Three traces show a rejected commit followed by correction, cancel retaining the committed value, and an event rejected from the wrong state. Every step exposes the native state and the fixture values.
The callbacks define the draft/commit behavior; that behavior is not claimed as a built-in transitions feature.
Adapter · three traces · setup and scope · external PR #14.
Python 3.12, transitions 0.9.3; 3 traces / 14 steps. Linux, Windows and macOS CI.
The JSON runner is my external interaction-check project. Upstream would gain no runtime dependency. Would this be useful as an external example for sharing guard and workflow reports?
All reactions