Liking cljdoc? Tell your friends :D
Clojure only.

hara.data.pipeline.base.ref


wrap-keyword-idclj

(wrap-keyword-id f)

Allow ids to be passed if type is a ref

(-> (pipeline/normalise {:schema (schema/schema {:user {:link [{:type :ref :ref {:ns :user}}] :name [{}]}}) :process {:input {:user/link 1000}}}) :process :normalised) => {:user {:link 1000}}

Allow ids to be passed if type is a ref

(-> (pipeline/normalise {:schema (schema/schema {:user {:link [{:type :ref
                                                                :ref {:ns :user}}]
                                                        :name [{}]}})
                         :process {:input {:user/link 1000}}})
    :process
    :normalised)
=> {:user {:link 1000}}
raw docstring

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

× close