Liking cljdoc? Tell your friends :D

openadr3.vtn.storage.validated

Validating storage decorator. Wraps any VtnStorage implementation and validates entities against wire-format Malli schemas on create and update operations. Delegates all reads and deletes unchanged.

As a Component, depends on :raw-storage (the underlying VtnStorage impl). All existing system references to :storage get validation automatically.

Validating storage decorator.
Wraps any VtnStorage implementation and validates entities against
wire-format Malli schemas on create and update operations.
Delegates all reads and deletes unchanged.

As a Component, depends on :raw-storage (the underlying VtnStorage impl).
All existing system references to :storage get validation automatically.
raw docstring

new-validating-storageclj

(new-validating-storage)

Create a ValidatingStorage component. Depends on :raw-storage.

Create a ValidatingStorage component. Depends on :raw-storage.
sourceraw docstring

wrap-validationclj

(wrap-validation storage)

Wrap a VtnStorage implementation with schema validation (non-Component use). Returns a ValidatingStorage that validates on create/update.

Wrap a VtnStorage implementation with schema validation (non-Component use).
Returns a ValidatingStorage that validates on create/update.
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