Skip to content

Add Domain Event application architecture pattern #255

@JerrettDavis

Description

@JerrettDavis

PatternKit should add a first-class Domain Event pattern slice for recording and dispatching immutable events raised by domain models.

Scope:

  • Fluent runtime path for recording, clearing, and publishing domain events.
  • Source-generated path for attributed event appliers/dispatchers/factories.
  • IServiceCollection integration for event publishers and handlers.
  • Real-world example connecting aggregates, repository/unit-of-work, and outbox-style dispatch.
  • Documentation, user guide, generator docs, catalog entries, and TinyBDD coverage.

Done when CI, docs, CodeQL, and coverage are green on main.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions