The Metabase Hierarchical Type System (MHTS). This is a hierarchy where types derive from one or more parent types,
which in turn derive from their own parents. This makes it possible to add new types without needing to add
corresponding mappings in the frontend or other places. For example, a Database may want a type called something
like :type/CaseInsensitiveText
; we can add this type as a derivative of :type/Text
and everywhere else can
continue to treat it as such until further notice.
The Metabase Hierarchical Type System (MHTS). This is a hierarchy where types derive from one or more parent types, which in turn derive from their own parents. This makes it possible to add new types without needing to add corresponding mappings in the frontend or other places. For example, a Database may want a type called something like `:type/CaseInsensitiveText`; we can add this type as a derivative of `:type/Text` and everywhere else can continue to treat it as such until further notice.
(types->parents)
(types->parents root)
Return a map of various types to their parent types.
This is intended for export to the frontend as part of MetabaseBootstrap
so it can build its own implementation of isa?
.
Return a map of various types to their parent types. This is intended for export to the frontend as part of `MetabaseBootstrap` so it can build its own implementation of `isa?`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close