Rewrite example: full working app with projections, automations, and no circular refs #21
Labels
No labels
bug
documentation
enhancement
investigation
nice-to-have
performance
production-ready
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ash/eskit#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Current example (order-processing) is deciders-only. No projections, no automations, no CommandBus, no subscriptions. The package-per-slice structure will cause circular reference issues when projections need events from multiple slices or automations send commands across slices.
Required
Full working example demonstrating ALL three event modeling patterns:
State Changes (Commands → Events)
State Views (Projections)
Automations (Event → Command)
Package Structure (no circular refs)
Events and commands live in
domain/— everything imports domain, nothing imports each other. Zero circular refs.Key: Must Actually Run
go run main.gostarts the appTests
Example app: full vertical slice with all eskit featuresto Rewrite example: full working app with projections, automations, and no circular refsExample rewritten with all 3 event modeling patterns, no circular refs. Domain/slices/projections/automations package structure.