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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |