Avoid primitive obsession in domain model APIs
Domain-facing APIs with many primitive parameters should use richer value objects.
#Metadata
#Why it matters
Grouping related primitives into value types improves readability and reduces argument-order bugs.
#Remediation
Introduce a value object or typed input model for related arguments.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.quality.no-primitive-obsession-in-domain-model.rule.yaml.