Open VDFaller opened 1 year ago
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue.
Nice!
I'm unclear on exactly what you're trying to assert in the test here?
@benc-db That something never goes from Step3 to step2. If I have a workflow with a specific order of tasks I just don't want things to go in reverse. My actual use case is to test product lifecycles as we're supposed to only go one way.
No idea if other people would use this but I've needed this for a while.
Problem
Data is only allowed to change in one direction following some flow. Like
Step 1
->Step 2
->Step 3
and we want to fail if data changes fromStep 3
toStep 2
. Delta's time travel lets us actually test for this.Proposal
This might not be the best method (or the right repo) but here's what I've come up with
Where my schema looks like