feat: add required event_type_name() to Event trait for stable storage #344
No reviewers
Labels
No labels
adr
automated
bug
chore
dependencies
documentation
enhancement
epic
github-actions
P1-high
P2-medium
P3-low
release
research
rust
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jwilger/eventcore!344
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/325-stable-event-type-names"
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?
Summary
event_type_name() -> &'static strmethod to theEventtraitstd::any::type_name::<E>()inStreamWrites::append()withE::event_type_name()impl Event forblocks across the workspace updated with stable namesWhy
The
event_typecolumn in postgres/sqlite stores metadata for auditing/debugging (not used for deserialization). Previously it usedstd::any::type_namewhich changes when types move modules, splitting audit queries. Stable names prevent this.Test plan
Relates to #325 (stable event type naming was the actionable piece; upcasting closed by ADR-0035)