interface ValidationOptions {
    fields?: string[];
    hooks?: boolean;
    skip?: string[];
}

Hierarchy (view full)

Properties

Properties

fields?: string[]

An array of strings. Only the properties that are in this array will be validated

hooks?: boolean

If false the applicable hooks will not be called. The default value depends on the context.

Default

true
skip?: string[]

An array of strings. All properties that are in this array will not be validated