(wrap-single-symbol f)
wraps normalise to work with symbols for queries as well as :ref attributes of datoms
(pipeline/normalise {:account {:type 'hello}} {:schema (schema/schema {:account/type [{:type :keyword :keyword {:ns :account.type}}]})} {:normalise-single [wrap-single-symbol]}) => {:account {:type '?hello}}
wraps normalise to work with symbols for queries as well as :ref attributes of datoms (pipeline/normalise {:account {:type 'hello}} {:schema (schema/schema {:account/type [{:type :keyword :keyword {:ns :account.type}}]})} {:normalise-single [wrap-single-symbol]}) => {:account {:type '?hello}}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close