(wrap-single-keyword f)
removes the keyword namespace if there is one
(pipeline/normalise {:account {:type :account.type/vip}} {:schema (schema/schema {:account/type [{:type :keyword :keyword {:ns :account.type}}]})} {:normalise-single [wrap-single-keyword]}) => {:account {:type :vip}}
removes the keyword namespace if there is one (pipeline/normalise {:account {:type :account.type/vip}} {:schema (schema/schema {:account/type [{:type :keyword :keyword {:ns :account.type}}]})} {:normalise-single [wrap-single-keyword]}) => {:account {:type :vip}}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close