TGraphQLValidator.Create Constructor
Creates a new validator instance, passing the schema used to validate and the document to be validated.
Syntax
Unit: GraphQL.Validator
constructor TGraphQLValidator.Create(ASchema: TSchemaDocument; ADocument: TASTDocument);
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
ASchema | TSchemaDocument | The schema document used to validate the document. |
|
ADocument | TASTDocument | The GraphQL document to be validated. |