workflo.entitydb.util.expansion

expand-entities

(expand-entities entities flat-db attrs-to-expand)

expand-entity

(expand-entity entity flat-db attrs-to-expand)

expand-ref

(expand-ref ref flat-db)

expand-ref-or-refs

(expand-ref-or-refs ref-or-refs flat-db attrs)

expand-refs

(expand-refs entity flat-db attrs)

Expands the refs of an entity by replacing them with the referenced entities. Only does this for the given attrs. Uses a flattened entitydb to resolve refs.