TSchemaDirectiveDefinition Class
Represents a GraphQL directive definition.
Syntax
Unit: GraphQL.Schema
TSchemaDirectiveDefinition = class(TObject);
Methods
| Name | Description |
|---|---|
| AddArgument | Adds an input argument for the directive. |
| FindArgument | Returns the input argument with the specified name. |
Properties
| Name | Description |
|---|---|
| Name | The name of the directive. |
| Description | Optional description for the directive. |
| Arguments | Returns the collection of input arguments of the directive. |