Skip to main content

Module input

Module input 

Source
Expand description

The values a validator runs against.

A JSON body, a urlencoded form, and a query string all arrive as the same thing here: a map of field name to Json. Form and query values are always strings, which is why rules like integer accept "18" as readily as 18 — whether a form validates should not depend on how the browser encoded it.

Structs§

Input
The named values under validation.