Make the value a proper DataRecordValue type. This will open the door to extension via facets or similar. An example being colour.
Another example is from the docsndata codebase. Formulas could be disabled so a user could override the value. Whether the value was formula derived or user provided was modelled as metadata, but in a weird way because there was no clean way for a value to have metadata.
Instead of this in
DataRecord
:Make the value a proper
DataRecordValue
type. This will open the door to extension viafacets
or similar. An example being colour.Another example is from the docsndata codebase. Formulas could be disabled so a user could override the value. Whether the value was formula derived or user provided was modelled as metadata, but in a weird way because there was no clean way for a value to have metadata.