(wrap-single-model-convert f)converts input according to model (pipeline/normalise {:account/name "Chris"} {:schema (schema/schema examples/account-name-age-sex) :pipeline {:convert {:account {:name #(.toLowerCase %)}}}} wrappers) => {:account {:name "chris"}}
converts input according to model
(pipeline/normalise {:account/name "Chris"}
{:schema (schema/schema examples/account-name-age-sex)
:pipeline {:convert {:account {:name #(.toLowerCase %)}}}}
*wrappers*)
=> {:account {:name "chris"}}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 |