opral / lix-sdk

1 stars 0 forks source link

a change with a potentially undefined value (snapshot) loses id information #27

Closed samuelstroschein closed 2 weeks ago

samuelstroschein commented 1 month ago

Problem

Queries changes where a change.value is modeled as potentially undefined leads to unqueriable deleted changes in apps.

monorepo/inlang/source-code/fink2/src/components/InlangBundle.tsx at 3655ed99b5961ca7e57cbbffedaebadb497c8a35 · opral/monorepo

This change was introduced as part of https://github.com/opral/monorepo/pull/3043.

samuelstroschein commented 2 weeks ago

Solved by adding the ID to meta. Further strengthens the argument for LIX-109. Payload can contain all relevant information.