(entity {:com.wsscode.pathom3.entity-tree/keys [entity-tree*]})Returns the entity tree value from env
Returns the entity tree value from env
(merge-entity-data entity new-data)Specialized merge versions that work on entity data.
Specialized merge versions that work on entity data.
(reset-entity! {:com.wsscode.pathom3.entity-tree/keys [entity-tree*]}
entity-tree)(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.
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |