Skip to content

breeze-client / ValidationOptionsConfig

Interface: ValidationOptionsConfig ​

Defined in: src/validation/validation-options.ts:5

Configuration info to be passed to the ValidationOptions constructor

Properties ​

validateOnAttach? ​

optional validateOnAttach?: boolean

Defined in: src/validation/validation-options.ts:8

Whether entity and property level validation should occur when entities are attached to the EntityManager other than via a query. (default = true)


validateOnPropertyChange? ​

optional validateOnPropertyChange?: boolean

Defined in: src/validation/validation-options.ts:17

Whether property level validation should occur after entities are modified. (default = true)


validateOnQuery? ​

optional validateOnQuery?: boolean

Defined in: src/validation/validation-options.ts:14

Whether entity and property level validation should occur after entities are queried from a remote server. (default = false)


validateOnSave? ​

optional validateOnSave?: boolean

Defined in: src/validation/validation-options.ts:11

Whether entity and property level validation should occur before entities are saved. A failed validation will force the save to fail early. (default = true)

Released under the MIT License.