Skip to content

breeze-client / ValidationErrorsChangedEventArgs

Interface: ValidationErrorsChangedEventArgs ​

Defined in: src/manager/entity-manager.ts:397

The argument to the validationErrorsChanged event of an EntityManager and of an EntityAspect. Raised once per operation - a validation, or a call that adds, removes or clears errors - that added or removed at least one error.

Properties ​

added ​

added: ValidationError[]

Defined in: src/manager/entity-manager.ts:402

The errors the operation added. An error found again when the entity is re-validated appears here again, replacing the one with the same key.


entity ​

entity: Entity

Defined in: src/manager/entity-manager.ts:399

The entity whose validation errors changed.


removed ​

removed: ValidationError[]

Defined in: src/manager/entity-manager.ts:405

The errors the operation removed: ones that no longer fail validation, and ones removed with EntityAspect.removeValidationError or EntityAspect.clearValidationErrors.

Released under the MIT License.