opral / lix-sdk

1 stars 0 forks source link

`change.value` -> `change.snapshot` #36

Closed samuelstroschein closed 1 week ago

samuelstroschein commented 4 weeks ago

Context

Multiple terms are floating around for the same concept: Snapshots. "types", "atoms", "primitives" are used to describe snapshots.

Proposal

Lix stores snapshots, not atoms, not types, not primitives. Snapshots. Call it snapshots to avoid the terminology chaos.

type Change = {
  id
  ...
- value
+ snapshot
}

Additional information

We can further clarify the type property of a change by prefixing it with snapshot:

type Change = {
   id
   ...
-  type
+  snapshot_type
   snapshot
}
samuelstroschein commented 3 weeks ago

The proposal might be succeeded by LIX-109

samuelstroschein commented 1 week ago

Cleaning up the issues. I am confident that we should implement LIXDK-109