Skip to content

Why are Aggregates forced to implement Default? #188

@JWSong

Description

@JWSong

I think it's not typical for an Aggregate trait to require a Default implementation.

  1. Aggregates often represent complex objects that may not have a meaningful "default" state.
  2. Forcing all aggregates to be Default can lead to invalid states if not carefully managed.
  3. It may unnecessarily contrain the design of your aggregates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions