Liking cljdoc? Tell your friends :D

fabrikk.execution.core


after-build-fnclj/s

(after-build-fn after-build-config)

buildclj/s

(build factory build-opts output-opts)

build-contextclj/s

(build-context factory build-opts)

build-entityclj/s

(build-entity execution-context
              {:as factory
               :keys [before-build after-build transients]
               :or {before-build identity}}
              build-opts)

build-listclj/s

(build-list factory n build-opt+ output-opts)

The output of this should be:

First: an inspectable list of entities (i.e. not just their primary id or assoc-as values).

Second: a list that can be passed to other builds. The directives code can handle replacing the list entries with the correct assoc-as value.

Third: a list that can be destructured into contextful entities. These entities can in turn be passed as dependents in other builds.

With this in mind we do something weird looking: the primary value of the context that's passed to output/build is a list of contextful entities.

The output of this should be:

First: an inspectable list of entities (i.e. not just their primary id or assoc-as values).

Second: a list that can be passed to other builds. The directives code can handle replacing
the list entries with the correct assoc-as value.

Third: a list that can be destructured into contextful entities. These entities can in turn
be passed as dependents in other builds.

With this in mind we do something weird looking: the primary value of the context that's
passed to `output/build` is a list of contextful entities.
raw docstring

build-list-contextclj/s

(build-list-context factory number build-opt+)

build-manyclj/s

(build-many factory number build-opt+)

changed?clj/s


coerce-to-listclj/s

(coerce-to-list build-opt-list+)

createclj/s

(create factory build-opts output-opts)

create-listclj/s

(create-list factory n build-opt-list output-opts)

persist-and-propagate!clj/s

(persist-and-propagate! output-opts context entity-id)

persist-contextclj/s

(persist-context output-opts built-context)

remove-transientsclj/s

(remove-transients context transients)

resolve-factoryclj/s

(resolve-factory factory)

unchanged?clj/s

(unchanged? entity persisted-entity)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close