Liking cljdoc? Tell your friends :D
Clojure only.

spirit.datomic.process.pipeline.symbol


wrap-single-symbolclj

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

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

× close