TSchemaField Class
Represents a GraphQL object field.
Syntax
Unit: GraphQL.Schema
TSchemaField = class(TObject);
Constructors
Name | Description |
---|---|
Create | Overloaded Create(string, TSchemaAssignableType) Create(string, string) |
Methods
Name | Description |
---|---|
FindArgument | Retrieves the input argument with the specified name. |
AddArgument | Adds an input argument for the field. |
Properties
Name | Description |
---|---|
Name | The name of the field. |
Description | Optional description for the field. |
Arguments | Returns the collection of input arguments of the field. |
FieldType | The type of the field. |
Resolver | Contains the IFieldResolver to be used to resolve the value for the field. |
IsDeprecated | Indicates if the field is deprecated. |
DeprecationReason | Contains the reason for a field to be deprecated. |