(->eql ?schema)
(->eql ?schema
{:kwill.malli-eql/keys [map-like? sequential-like? get-parameters
defaultf]
:or {map-like? default-map-like?
sequential-like? default-sequential-like?
get-parameters :properties
defaultf (constantly nil)}
:as options})
Converts a schema to EQL. Optional takes an options map that gets passed to all Malli API calls. Additionally, you can pass some parameters unique to this library. ::map-like? - Returns true if a schema can be treated like a :map type schema. ::sequential-like? - Returns true if a schema can be treated like a :sequential type schema. ::get-parameters - Function passed a map schema's properties are returns the EQL parameters to include. By default, uses the Malli properties map, if available. ::defaultf - Function called with the schema and options map when no builtin handler can process the schema type. Returns EQL for the schema.
Converts a schema to EQL. Optional takes an options map that gets passed to all Malli API calls. Additionally, you can pass some parameters unique to this library. ::map-like? - Returns true if a schema can be treated like a :map type schema. ::sequential-like? - Returns true if a schema can be treated like a :sequential type schema. ::get-parameters - Function passed a map schema's properties are returns the EQL parameters to include. By default, uses the Malli properties map, if available. ::defaultf - Function called with the schema and options map when no builtin handler can process the schema type. Returns EQL for the schema.
(default-*-like? ?schema opts schema-type)
(default-map-like? ?schema opts)
(default-sequential-like? ?schema opts)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close