Skip to content

Add a fully auto-mapped projection to the invoicing sample - #24

Merged
einari merged 1 commit into
mainfrom
chore/automapped-projection-sample
Jul 23, 2026
Merged

Add a fully auto-mapped projection to the invoicing sample#24
einari merged 1 commit into
mainfrom
chore/automapped-projection-sample

Conversation

@einari

@einari einari commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Added

  • The invoicing sample now includes a CancelledInvoices slice whose projection has no explicit mappings at all — showcasing AutoMap's default behavior copying every matching property from the event

🤖 Generated with Claude Code

The sample showed AutoMap being disabled and overridden but never the
default working on its own. The new CancelledInvoices archive slice
projects InvoiceCancelled with zero explicit mappings - the strongest
demonstration that AutoMap is the default and explicit mappings are
the exception.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@einari einari added the patch Bug fixes, docs, refactoring label Jul 23, 2026
@einari
einari merged commit c4350a9 into main Jul 23, 2026
1 check passed
@einari
einari deleted the chore/automapped-projection-sample branch July 23, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Bug fixes, docs, refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant