Liking cljdoc? Tell your friends :D
Clojure only.

hegel-clj.generator.proto

The protocol for generators. This lives in a separate namespace so that we can tie the circular knot between the client (which uses schemas) and the schemas (which need the client to generate new values).

The protocol for generators. This lives in a separate namespace so that we
can tie the circular knot between the client (which uses schemas) and the
schemas (which need the client to generate new values).
raw docstring

Schemacljprotocol

->mapclj

(->map schema)

Transforms this schema into a CBOR-serializable map, so that it can be sent to Hegel-Core

Transforms this schema into a CBOR-serializable map, so that it can be sent to Hegel-Core

postclj

(post schema value)

Post-processes a generated value. This can be used to transform one datatype into another, or to reject a generated value by throwing :hegel-clj/invalid.

Post-processes a generated value. This can be used to transform one
datatype into another, or to reject a generated value by throwing
:hegel-clj/invalid.
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close