Cratis Readmodel

Step-by-step guidance for creating a Cratis Chronicle read model from scratch — defining events, choosing between projection and reducer, [ReadModel] record with static query methods, and the generated TypeScript proxy in React. Use when creating a read model, working with [EventType], [ReadModel], IProjectionFor, IReducerFor, observable queries, or deriving state from events. For adding a projection or reactor to an existing read model, use add-projection instead.

Cratis 0811a79 6 files · 28.2 KB Updated

File contents

Cratis/AI/tree/main/.ai/skills/cratis-readmodel commit 0811a7983a

Frequently asked questions

npx skillmds@latest add cratis/cratis-readmodel