Liking cljdoc? Tell your friends :D

hara.data.pipeline.convert


wrap-single-model-convertclj

(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"}}
raw docstring

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

× close