TGraphQLValidator.Execute Method
Performs the document validation.
Syntax
Unit: GraphQL.Validator
function TGraphQLValidator.Execute(AErrors: TList<TGraphQLError>): Boolean;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
AErrors | TList<TGraphQLError> | A list of errors that will be filled by the validator, if any error is encountered during validation. |
Returns
The execution returns true if the validation is successful, false otherwise. If the validation fails (false), the error list will contain the validation errors found.