[save-env ident save-diff]
Given the save-env, ident of an entity, and incoming save diff (map from :before to :after for each
changed attribute): Return an updated save-diff. The default method for this simply returns save-diff.
Returning nil from this method will have the effect of removing all values for ident
from the save.
[save-env ident save-diff] Given the save-env, ident of an entity, and incoming save diff (map from :before to :after for each changed attribute): Return an updated save-diff. The default method for this simply returns save-diff. Returning nil from this method will have the effect of removing all values for `ident` from the save.
(rewrite-values pathom-env)
Rewrite the delta in ::form/params of save-env. Returns the new save-env.
Rewrite the delta in ::form/params of save-env. Returns the new save-env.
(wrap-rewrite-values handler)
Middleware that allows the distribution of incoming save diff rewrite across models. Should be at the bottom (early side) of the middleware if used.
Middleware that allows the distribution of incoming save diff rewrite across models. Should be at the bottom (early side) of the middleware if used.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close