cml_add_domain_event
Add a domain event to an aggregate in a bounded context. Specify the event name and optional attributes to document state changes.
Instructions
Add a domain event to an aggregate
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the domain event | |
| attributes | No | Event attributes | |
| contextName | Yes | Name of the bounded context | |
| aggregateName | Yes | Name of the aggregate |