TFieldResolverArgs Class
The arguments passed to the field resolver for resolving the field value.
Syntax
Unit: GraphQL.Schema
TFieldResolverArgs = class(TObject);
Methods
| Name | Description |
|---|---|
| HasArgument | Returns true the value of the specified input argument was provided. |
| GetArgument | Returns the provided value of the specified input argument. |
Properties
| Name | Description |
|---|---|
| FieldName | The name of the field being resolved. |
| Root | The root value (initial value) of the GraphQL execution. |
| Source | Contains the object value (source) which is providing the field. |
| ParentType | The GraphQL object type which holds the definition if the field being resolved. |
| Schema | A reference to the schema document used in the current GraphQL execution. |
| Arguments | Retrieves the list of input arguments. |
| Cacheable | Indicates if the response should be cacheable. |