Skip to content

v0.2.0— Optimistic identity resolution

Choose a tag to compare

@Samwell1996 Samwell1996 released this 22 Dec 20:25
· 7 commits to main since this release
586b10f

Added

  • EntityCollection.resolveById(tempId, realEntity)

    • Replaces a temporary id with a real id in-place
    • Preserves item order
    • Cleans up the temporary entity via cascade GC
  • EntityRecord.resolve(tempId, realEntity)

    • Resolves a temporary record reference
    • Removes the temporary entity and points to the real one

Notes

  • No breaking changes
  • Designed for optimistic and offline-first flows