Liking cljdoc? Tell your friends :D

skeptic.malli-spec.collect

Malli intake stream, hermetic from the project JVM. Reads two channels of inert Malli spec data off the worker-shipped clj-state entries — never the live (malli.core/function-schemas) registry or a loaded Var's metadata:

  1. :malli/schema Var-meta → the :malli-schema field the worker captured off the raw source-form (skeptic.worker.server/project-entry).
  2. m/=> → the spec vector at position 2 of the (m/=> sym SPEC) source-form.

Specs are inert keyword/vector data; amb/admit-malli-spec (pinned Malli) does all interpretation host-side. No malli.core require here.

Malli intake stream, hermetic from the project JVM. Reads two channels of
inert Malli spec data off the worker-shipped clj-state entries — never the
live `(malli.core/function-schemas)` registry or a loaded Var's metadata:

1. `:malli/schema` Var-meta → the `:malli-schema` field the worker captured
   off the raw source-form (`skeptic.worker.server/project-entry`).
2. `m/=>` → the spec vector at position 2 of the `(m/=> sym SPEC)` source-form.

Specs are inert keyword/vector data; `amb/admit-malli-spec` (pinned Malli)
does all interpretation host-side. No `malli.core` require here.
raw docstring

malli-admitted-qsymsclj

(malli-admitted-qsyms ns-sym aliases entries)

Qsym set the Malli admission collector would admit for ns-sym, without converting spec bodies. Used by pipeline var-provs so it cannot disagree with what ns-malli-spec-results admits.

Qsym set the Malli admission collector would admit for ns-sym, without
converting spec bodies. Used by pipeline var-provs so it cannot disagree with
what ns-malli-spec-results admits.
sourceraw docstring

malli-declaration-error-resultclj

(malli-declaration-error-result ns-sym qualified-sym entry-meta e)
source

ns-malli-spec-resultsclj

(ns-malli-spec-results ns-sym aliases entries)

Per-namespace Malli admission from worker-shipped clj-state entries. Inputs:

  • ns-sym: the namespace symbol.
  • aliases: the ns alias map (alias-sym → target-ns-sym) for head resolution.
  • entries: the ns's clj-state entries [{:source-form :malli-schema} …]. Returns {:entries {qsym {:name :malli-spec}} :errors [...]}.
Per-namespace Malli admission from worker-shipped clj-state entries. Inputs:
- `ns-sym`: the namespace symbol.
- `aliases`: the ns alias map (alias-sym → target-ns-sym) for head resolution.
- `entries`: the ns's clj-state entries `[{:source-form :malli-schema} …]`.
Returns `{:entries {qsym {:name :malli-spec}} :errors [...]}`.
sourceraw docstring

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