Skip to content

Issue: Use Value Objects Instead of Entities Where Identity Is Not Essential #680

Open

Description

@marcuscastelo

Priority: Important — Deserves attention for domain purity and model correctness, but can be scheduled.

Area: Cross-Cutting Concerns & DDD Pitfalls

Background

The audit (ARCHITECTURE_AUDIT.md) recommends using value objects instead of entities where identity is not essential, to improve domain purity and prevent misuse.

Task

  • Review all entities and identify where value objects should be used instead.
  • Refactor as needed.
  • Update or remove related tests as necessary.

Acceptance Criteria

  • All identity-less concepts use value objects instead of entities.
  • All changes are covered by updated or new tests.
  • All checks pass (npm run check).

References


Small, incremental step. Should not exceed 1K lines of change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

architectureArchitecture or structural concerndomainDomain logic or business rules

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions