TSchemaDocument.AddDirective Method
Adds a new directive to the schema.
Remarks
The directive instance will be destroyed when the schema is destroyed.
Syntax
Unit: GraphQL.Schema
procedure TSchemaDocument.AddDirective(Value: TSchemaDirectiveDefinition);
Parameters
| <-> | Parameter | Type | Description | 
|---|---|---|---|
| Value | TSchemaDirectiveDefinition | The directive to be added. |