tesseract-olap / tesseract-ui

Interface for exploration/debugging of tesseract cube servers.
MIT License
5 stars 1 forks source link

[explorer] review generation of deterministic keys for internal models #36

Closed frabarz closed 2 years ago

frabarz commented 2 years ago

Permalinks are read and parsed into state objects, which are then hydrated with the information from the server's public schema. During this process, ephemeral IDs are assigned to the key property of all structs, as a guide for CRUD operations done later in the UI.

There's currently a conflict with some keys generated after parsing the permalink: the key used in the record ID is taken from the property name itself to ensure unique elements, but the key inside the struct is sometimes different. image

This causes inconsistencies in the UI: image