Skip to main content

Module context

Module context 

Source
Expand description

What flows through a validation: the caller’s context, the state a validator sees at its node, and the update it fills in.

Structs§

Context
The caller’s context: per-call state custom validators may share, and the definitions Define records for Refer.
State
What a custom validator sees: where it is, what it is looking at.
Update
The bag a custom validator fills in.

Enums§

PathPart
A path element: an object key or an array index.
UpdateErr
An error a validator reports.

Functions§

join_path
The dotted form of a path, empty segments skipped.