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.
Type Parameters
Section titled “Type Parameters”T extends Message = Message
Parameters
Section titled “Parameters”SchemaPathTree<T, Root>
validator
Section titled “validator”Validator
schema
Section titled “schema”GenMessage<T>
Returns
Section titled “Returns”void