event-versioning

Community

Evolve event schemas safely and compatibly

AuthorFaysilAlshareef
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Evolving event schemas in event-sourced systems without breaking consumers, corrupting historical data, or causing replay and projection failures.

Core Features & Use Cases

  • Backward-compatible schema changes: Add nullable fields with defaults and rely on direct deserialization where possible.
  • Upcaster pattern & registration: Define and register upcasters to transform old event shapes to new ones during aggregate replay or projection builds.
  • Migration & snapshot strategies: Choose between lazy upcasting on read and controlled batch migration, and manage snapshot versioning and invalidation.

Quick Start

Use the event-versioning skill to create a new versioned event type, implement an upcaster from V1 to V2, and register the upcaster in your DI container.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: event-versioning
Download link: https://github.com/FaysilAlshareef/dotnet-ai-kit/archive/main.zip#event-versioning

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.