Liking cljdoc? Tell your friends :D

schema-generators.complete

Experimental support for 'completing' partial datums to match a schema.

Experimental support for 'completing' partial datums to match a schema.
raw docstring

+missing+clj/s

source

completeclj/s

(complete partial-datum & completer-args)

Fill in partial-datum to make it validate schema.

Fill in partial-datum to make it validate schema.
sourceraw docstring

completerclj/s≠

clj
(completer schema)
(completer schema coercion-matcher)
(completer schema coercion-matcher leaf-generators)
(completer schema coercion-matcher leaf-generators wrappers)
cljs
(completer G__7179)
(completer G__7183 G__7184)
(completer G__7188 G__7189 G__7190)
(completer G__7194 G__7195 G__7196 G__7197)

Inputs: ([schema] [schema coercion-matcher] [schema coercion-matcher leaf-generators] [schema coercion-matcher :- coerce/CoercionMatcher leaf-generators :- generators/LeafGenerators wrappers :- generators/GeneratorWrappers])

Produce a function that simultaneously coerces, completes, and validates a datum.

Inputs: ([schema] [schema coercion-matcher] [schema coercion-matcher leaf-generators] [schema coercion-matcher :- coerce/CoercionMatcher leaf-generators :- generators/LeafGenerators wrappers :- generators/GeneratorWrappers])

Produce a function that simultaneously coerces, completes, and validates a datum.
sourceraw docstring

Completerclj/sprotocol

completer*clj/s

(completer* spec s sub-checker generator-opts)

A function applied to a datum as part of coercion to complete missing fields.

A function applied to a datum as part of coercion to complete missing fields.
source

sampleclj/s

(sample g)
source

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

× close