DatatableColumnMeta cleanup #78747
Labels
Feature:ExpressionLanguage
Interpreter expression language (aka canvas pipeline)
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
v7.11.0
v8.0.0
DatatableColumnMeta currently has the following type:
two things are a bit unclear here:
string
andmeta.params.id
isnumber
there are two options for the cleanup:
we would remove fieldType information (which is currently on meta.type) and replace it with field format id. This way its clear what the actual format is, and current fieldTypes in use are subset of available field formatters. The structure gets simplified and fieldType information is anyway redundant as we already have meta.field and meta.index with which we can find out the actual fieldType.
the new DatatableColumnMeta would become:
meta.params
tometa.format
andmeta.sourceParams
tometa.params
we would keep the redundant fieldType information (
meta.type
) but rather renamemeta.params
to be more semantic intometa.format
which would still be whole SerializedFieldFormat. There is still unclear which type to use (meta.type or meta.format.id) and they may still be incompatible, but at least we have a bit more semantic naming.The text was updated successfully, but these errors were encountered: