Functions or overloaded functions that could be part of malli, but aren't (as of now).
Functions or overloaded functions that could be part of malli, but aren't (as of now).
(default-value-transformer)
(default-value-transformer {:keys [key default-fn defaults]
:or {key :default default-fn identity}})
Copied from [[malli.transform/default-value-transformer]], doesn't
change existing behaviour but only add default-fn
optional
argument. When set, this function takes one argument: the default
value found under key key
(which defaults to :default
). It is
called at transformer run time, not compile time.
Copied from [[malli.transform/default-value-transformer]], doesn't change existing behaviour but only add `default-fn` optional argument. When set, this function takes one argument: the default value found under key `key` (which defaults to `:default`). It is called at transformer run time, not compile time.
(value-schemas schema)
Returns all leaf sub schemas for unique paths as a vector of maps with :schema, :path and :in keys.
Returns all leaf sub schemas for unique paths as a vector of maps with :schema, :path and :in keys.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close