PatternKit should add a first-class Data Mapper pattern slice for isolating domain models from persistence DTOs/records.
Sources:
Scope:
- Fluent runtime path for mapping between domain entities and data records with validation hooks.
- Source-generated path for attributed mapper declarations.
- IServiceCollection integration for registering mappers.
- Real-world example around persistence DTOs, domain entities, and repository integration.
- Documentation, user guide, generator docs, and catalog entries.
- TinyBDD coverage for round-trip mapping, missing/invalid mapping diagnostics, DI, and generated path.
Done when CI, docs, CodeQL, and coverage are green on main.
PatternKit should add a first-class Data Mapper pattern slice for isolating domain models from persistence DTOs/records.
Sources:
Scope:
Done when CI, docs, CodeQL, and coverage are green on main.