step
step copied to clipboard
Statically assess data integrity.
Currently the state language definition is validated for structure using JSONSchema, but no validation of data integrity is done, e.g. StartState
and subsequent Next
states are not validated prior to running the state machine, etc.
This would be useful to ensure a machine can be run to completion prior to invoking it.
https://github.com/totherik/step/blob/381065dd6ac3bd10fbf286e6f22cdaaa61cabe9a/src/states/index.js#L26-L35