statelyai / xstate-python

XState for Python
MIT License
177 stars 18 forks source link

Transitions handling with related states (parallel/orthogonal or hierarchal) not consistent with XState JS #51

Open auphofBSF opened 2 years ago

auphofBSF commented 2 years ago

Implementing the unit tests test_statein.py in #49 highlighted that transitions based on relative states (orthogonal/parallel or hierarchical) is yet to be implemented in xstate-python

The relevant unit tests for in state guards are suppressed in commit: a29329a

docs ref: https://xstate.js.org/docs/guides/transitions.html#selecting-enabled-transitions https://xstate.js.org/docs/guides/hierarchical.html#hierarchical-state-nodes https://xstate.js.org/docs/guides/hierarchical.html#hierarchical-state-nodes

relevant discussion: #49 (comment)

Suggest this be labeled as Feature Request