SEA™ Flow annotation contract
Mandatory
Every Flow includes:
@cqrs { "kind": "command" }
Recommended templates
Command:
@cqrs { "kind": "command" }
@tx { "transactional": true }
@idempotency { "enabled": true, "key": "header:X-Idempotency-Key" }
Event:
@cqrs { "kind": "event" }
@outbox { "mode": "required" }
Query:
@cqrs { "kind": "query" }
@read_model { "name": "CustomerSummary" }
Rules
- JSON must be valid
- Use nested JSON only
Scan to join WeChat group