Liking cljdoc? Tell your friends :D

com.wsscode.pathom3.entity-tree


create-entityclj/s

(create-entity x)

entityclj/s

(entity {:com.wsscode.pathom3.entity-tree/keys [entity-tree*]})

Returns the entity tree value from env

Returns the entity tree value from env
raw docstring

merge-entity-dataclj/s

(merge-entity-data entity new-data)

Specialized merge versions that work on entity data.

Specialized merge versions that work on entity data.
raw docstring

reset-entity!clj/s

(reset-entity! {:com.wsscode.pathom3.entity-tree/keys [entity-tree*]}
               entity-tree)

swap-entity!clj/s

(swap-entity! {:com.wsscode.pathom3.entity-tree/keys [entity-tree*]} f)
(swap-entity! {:com.wsscode.pathom3.entity-tree/keys [entity-tree*]} f x)
(swap-entity! {:com.wsscode.pathom3.entity-tree/keys [entity-tree*]} f x y)
(swap-entity! {:com.wsscode.pathom3.entity-tree/keys [entity-tree*]}
              f
              x
              y
              &
              args)

Swap cache-tree at the current path. Returns the updated whole cache-tree.

Swap cache-tree at the current path. Returns the updated whole cache-tree.
raw docstring

vswap-entity!clj/s

(vswap-entity! {:com.wsscode.pathom3.entity-tree/keys [entity-tree*]} f)
(vswap-entity! {:com.wsscode.pathom3.entity-tree/keys [entity-tree*]} f x)
(vswap-entity! {:com.wsscode.pathom3.entity-tree/keys [entity-tree*]} f x y)
(vswap-entity! {:com.wsscode.pathom3.entity-tree/keys [entity-tree*]}
               f
               x
               y
               &
               args)

Swap cache-tree at the current path. Returns the updated whole cache-tree.

Swap cache-tree at the current path. Returns the updated whole cache-tree.
raw docstring

with-entityclj/s

(with-entity env entity-tree)

Set the entity in the environment. Note in this function you must send the cache-tree as a map, not as an atom.

Set the entity in the environment. Note in this function you must send the cache-tree
as a map, not as an atom.
raw docstring

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

× close