Entity Identity Across Object Edits
An entity can retain its identity when mutable fields change. The chosen key and the latest snapshot describe different facts about it.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Follow a course rename
Course 31 can change from introductory programming to programming fundamentals while keeping ID 31. A record equality test over all fields changes. A routing link based on its stable ID can still resolve it. See stable identifiers.
Choose duplicate detection separately
Two course records with identical names and different IDs may both be valid. Index by the permanent key before comparing fields for user-facing publication. Composite keys can encode a scoped identity if IDs are only locally unique.[1]