CQRS pattern
Smart component · Patterns
Commands write through a write model; events feed read-optimised projections for queries.
Properties
Change any of these in the properties panel and the component regenerates in place. Labels, colours and arrows you attached yourself are kept.
| Property | Type | Values | Default |
|---|---|---|---|
| Read models | number | 1 to 4 | 2 |
| Show client | boolean | on or off | true |
How to use it
- Open the editor and press Components, then choose the Smart tab.
- Click CQRS pattern to place it, or drag it to an exact spot.
- Adjust its properties, then connect your own shapes to its ports.