Skip to content

Learning path: first events, first projection, commands and queries - #629

Merged
woksin merged 2 commits into
mainfrom
samples/625-learning-path
Oct 10, 2026
Merged

woksin merged 2 commits into
mainfrom
samples/625-learning-path

Conversation

@woksin

@woksin woksin commented Oct 10, 2026

Copy link
Copy Markdown
Collaborator

Added

Introduce LearningPath/ with a README index and three self-contained,
runnable steps around one shopping cart:

01 First events: append events to the Chronicle event log and read the
   cart's history back from a console app.
02 First projection: a model-bound CartSummary projection read through
   IReadModels after waiting for the append to be processed.
03 Commands and queries: model-bound Arc commands that return events and
   a read-model query, hosted with AddCratis/UseCratis.

Add the steps to Samples.slnx, the sample catalog and the root README.
(#625)
@woksin woksin self-assigned this Oct 10, 2026
@woksin

woksin commented Oct 10, 2026

Copy link
Copy Markdown
Collaborator Author

PR authored as woksin, so assigned only.

Review: full cross-provider review (Opus 5.5 + GPT-6.1 Sol) passed with no blocking findings. Local: node scripts/validate-samples.mjs, restore, Debug and Release builds of Samples.slnx pass; all three steps ran against a local cratis/chronicle:19.39.1-development container with the output shown in their READMEs (step 3 exercised with curl). Open: the steps have no automated specs yet (planned for the testing step); Cratis 22.65.3 brings Chronicle client 19.31.2 while Cratis.Chronicle is pinned at 19.39.0; older sample READMEs document the Workbench on port 8080, Chronicle 19.39 serves it on 35000.

@woksin
woksin merged commit 5372148 into main Oct 10, 2026
@woksin
woksin deleted the samples/625-learning-path branch October 10, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant