Liking cljdoc? Tell your friends :D

grape.schema


*deps*clj

source

*existing*clj

source

*payload*clj

source

*request*clj

source

*resource*clj

source

?clj

source

cleve-coercion-matcherclj

(cleve-coercion-matcher schema)
source

date-time-matcherclj

source

defaultclj

source

email?clj

source

get-schema-keyseqsclj

(get-schema-keyseqs schema & {:keys [skip-hidden? skip-read-only?]})
source

get-schema-relationsclj

(get-schema-relations schema)

this function gets a schema as its input and returns a map of a Specter path to the corresponding relation spec

this function gets a schema as its input and returns a map of a Specter path to the corresponding relation spec
sourceraw docstring

hiddenclj

(hidden schema)
source

hidden?clj

source

insensitive-unique?clj

(insensitive-unique? field)
source

map-validation-errorclj

(map-validation-error error)
source

maybe?clj

source

object-id-matcherclj

source

primitive?clj

source

read-onlyclj

(read-only schema)
source

read-only?clj

source

resource-embeddedclj

(resource-embedded resource-key field schema)
source

resource-embedded?clj

source

resource-exists?clj

(resource-exists? resource-key)
source

resource-joinclj

(resource-join resource-key field)
source

resource-join?clj

source

translate-errorclj

(translate-error err)
source

unique?clj

(unique? field)
source

url?clj

source

validateclj

(validate payload schema)
source

validate-createclj

(validate-create {:keys [hooks] :as deps} resource request payload)
source

validate-partial-updateclj

(validate-partial-update {:keys [hooks] :as deps}
                         resource
                         request
                         payload
                         existing)
source

validate-updateclj

(validate-update {:keys [hooks] :as deps} resource request payload existing)
source

walk-schemaclj

(walk-schema schema
             key-fn
             value-fn
             &
             {:keys [skip-hidden? skip-read-only? skip-unwrap-for transform-map
                     transform-seq]
              :or {skip-hidden? false
                   skip-read-only? false
                   skip-unwrap-for (fn [path v] false)
                   transform-map (fn [path v] v)
                   transform-seq (fn [path v] v)}
              :as args})
source

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

× close