Skip to content

Commit cc088dd

Browse files
feat(state): Add State Pattern source generator with deterministic transitions, comprehensive documentation and examples (#117)
* Initial plan * Add State Pattern attributes and generator implementation Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> * Add comprehensive unit tests for StateMachineGenerator - all passing Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> * Add OrderFlow example for State Machine (generator not yet running on Examples project) Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> * Update AnalyzerReleases.Unshipped.md with State Pattern diagnostics Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> * Improve comment clarity for async guard in CanFire method Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> * Address code review feedback: improve documentation and simplify code Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> * Address PR review feedback: Add diagnostics, fix guards, improve enum handling, add tests Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> * Add comprehensive documentation and expanded examples for State Machine generator Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JerrettDavis <2610199+JerrettDavis@users.noreply.github.com>
1 parent 4e11dad commit cc088dd

12 files changed

Lines changed: 4318 additions & 0 deletions

File tree

docs/generators/state-machine.md

Lines changed: 913 additions & 0 deletions
Large diffs are not rendered by default.

docs/generators/toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
- name: Proxy
2020
href: proxy.md
2121

22+
- name: State Machine
23+
href: state-machine.md
24+
2225
- name: Template Method
2326
href: template-method-generator.md
2427

0 commit comments

Comments
 (0)