Liking cljdoc? Tell your friends :D

kwill.malli-eql


->eqlclj

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

default-*-like?clj

(default-*-like? ?schema opts schema-type)

default-hierarchyclj


default-map-like?clj

(default-map-like? ?schema opts)

default-sequential-like?clj

(default-sequential-like? ?schema opts)

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

× close