[MLv2] [BE] Make displayInfo for column groups straightforward to use #37369
Labels
.metabase-lib
Label for tracking all issues related to the shared CLJC metabase-lib
.Team/QueryProcessor
:hammer_and_wrench:
Milestone
Currently the FE has to use a utility function everywhere when displaying
ColumnGroup
:This is not straightforward. We never use
fkReferenceName
or its own, and we never usedisplayName
forColumnGroup
outside of this function.We should improve the API - only
displayName
should be used without additional checks on the FE. MLv2 should updatedisplayName
forColumnGroup
to be the result of this function under the hood.Without this check when using raw
displayName
now:With this check:
The text was updated successfully, but these errors were encountered: