Skip to content

validateMessageTree

validateMessageTree<T>(path, validator, schema): void

Defined in: validate-message-tree.ts:74

Validates a message tree using the provided validator and schema. This function uses the protovalidate library to validate the message tree and maps the violations to Angular form controls.

T extends Message = Message

SchemaPathTree<T, Root>

Validator

GenMessage<T>

void