Liking cljdoc? Tell your friends :D

leona.schema


*context*clj

source

accept-speccljmultimethod

source

accept-spec-wrapperclj

(accept-spec-wrapper dispatch spec children {:keys [custom-scalars] :as opts})

We use this function to intercept calls to 'accept-spec' and skip certain specs (e.g. where they are custom scalars)

We use this function to intercept calls to 'accept-spec' and skip certain specs (e.g. where they are custom scalars)
sourceraw docstring

combineclj

(combine & specs)
source

combine-with-optsclj

(combine-with-opts opts & specs)
source

find-invalid-keyclj

(find-invalid-key m)
(find-invalid-key m path)
source

fix-referencesclj

(fix-references schema)
source

listclj

(list t)
(list t nn?)
source

make-optional-fieldsclj

(make-optional-fields fields spec)
(make-optional-fields fields opt opt-un)
source

non-nullclj

(non-null t)
source

remove-non-nullclj

(remove-non-null f)
source

spec-name-or-aliasclj

(spec-name-or-alias spec {:keys [type-aliases]})
source

spec-resolves-to-set?clj

(spec-resolves-to-set? spec)
source

transformclj

(transform spec)
(transform spec options)
source

valid-enum?clj

(valid-enum? es)
source

valid-replacement-type?clj

(valid-replacement-type? t)
source

valid-type-override-symsclj

These symbols can be used to wrap types when using st/spec, e.g. (st/spec my-date-pred? {:type '(custom :date)}). They only exist separately to provide semantic information - it's not asserted anywhere that the types they reference ever exist anywhere so USE WITH CAUTION.

These symbols can be used to wrap types when using `st/spec`, e.g. `(st/spec my-date-pred? {:type '(custom :date)})`. They only exist separately to provide semantic information - it's not asserted anywhere that the types they reference ever exist anywhere so USE WITH CAUTION.
sourceraw docstring

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

× close