cml_add_identifier
Creates an ID Value Object for a given aggregate to replace primitive String IDs, following Domain-Driven Design best practices.
Instructions
Create an ID Value Object following DDD best practices. Use this instead of primitive String IDs to properly model identifiers as Value Objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the identifier (e.g., "ExecutionId", "TaskId"). Will be normalized to end with "Id" | |
| contextName | Yes | Name of the bounded context | |
| aggregateName | Yes | Name of the aggregate |