Commit graph

17 commits

Author SHA1 Message Date
Zach Daniel
eedf68ec4e improvement: policy for including state machine in can? checks 2024-05-01 10:28:53 -04:00
Zach Daniel
c5a3601445 chore: add audit
refactor:  clean up state transition code
2024-04-23 14:22:17 -04:00
Zach Daniel
9198ca08ce improvement: optimize atomic state transition check 2024-04-17 02:32:42 +01:00
Zach Daniel
6b087db923 docs: update spark, better cheatsheets 2023-09-15 12:11:50 -04:00
Zach Daniel
24d2ecd554 docs: various documentation improvements 2023-09-15 09:35:29 -04:00
James Harton
5cba78616c
improvement: Add possible_next_states helper. (#9)
* improvement: Add `possible_next_states` helper.

* chore: add `mix spark.cheat_sheets`.
2023-09-15 15:15:29 +12:00
Zach Daniel
fa109180e4 fix: scrub :* from the list of states
improvement: detect states used that don't exist and log an error
2023-09-12 08:40:18 -04:00
Zach Daniel
7a243389b0 improvement: support :* in states 2023-08-04 17:47:42 -04:00
Josh Price
bc4cf09eca
fix: Rename from to old_state in NoMatchingTransition error (#3) 2023-05-03 05:12:38 -04:00
Zach Daniel
0f90487b76 docs: add transition_state/2` description 2023-04-28 15:43:10 -04:00
Zach Daniel
5decff05ac docs: add DSL documentation 2023-04-23 00:46:09 -06:00
Zach Daniel
e032cbbb5e improvement: require initial_states 2023-04-22 18:39:29 -06:00
Zach Daniel
152e96605f improvement: fix lint/credo, handle all changeset types 2023-04-22 18:22:16 -06:00
Zach Daniel
98afe7b59f improvement: require from/to 2023-04-22 18:12:11 -06:00
Zach Daniel
eea70a666c fix: action does not uniquely identify a transition 2023-04-22 16:40:47 -06:00
Zach Daniel
f433fc083b docs: document :* action name 2023-04-22 16:28:19 -06:00
Zach Daniel
06871a9977 chore: fsm -> state_machine, event -> transition 2023-04-21 22:33:28 -06:00
Renamed from lib/ash_fsm.ex (Browse further)