Skip to main content

Crate todoapp_app

Crate todoapp_app 

Source
Expand description

tda use cases — orchestrate the domain core through the ports (spec §5, §10).

Every mutation is a method on Services: build a command → decideapply → persist (task-local), or graph-validated structure ops.

Structs§

Aggregate
Export
Self-contained snapshot of a branch: its tasks and the child/blocks edges among them. Deterministically ordered so export → import → export is stable.
QueryHit
A task in a query result, with its ancestor titles (root → parent).
Services
TaskSnapshot
A read-only view of a task assembled from its components — for query results, export, and as the return of a mutation. Never fed back to decide/apply (those work capability-keyed via the store); assembling here is one-way, so there is no partial-aggregate to reconcile. Decomposed back to components by Services::write_snapshot on import.

Enums§

Anchor
Where to drop a task among its new siblings.
Error