Event upcasting — schema migration for evolving events #60
Labels
No labels
bug
documentation
enhancement
investigation
nice-to-have
performance
production-ready
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ash/eskit#60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Event schemas evolve over time. A
UserCreatedevent from v1 might have different fields than v2. Currently no way to handle this — old events would fail deserialization or lose data.Proposal
Upcasters that transform events on load:
Registered per event type. Applied transparently during Load before deserialization.
Chainable: v1 → v2 → v3 in sequence.
Why This Matters
Acceptance