TSchemaField.Create Constructor
Overloads
TSchemaField.Create(string, TSchemaAssignableType)
Creates an object field with the specified name and type.
Syntax
Unit: GraphQL.Schema
constructor TSchemaField.Create(const AName: string; AFieldType: TSchemaAssignableType);
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | AName | string | The name of the field. |
AFieldType | TSchemaAssignableType | The type of the field. |
See also
TSchemaField.Create(string, string)
Creates an object field with the specified name and type.
Syntax
Unit: GraphQL.Schema
constructor TSchemaField.Create(const AName: string; const AFieldTypeName: string);
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | AName | string | The name of the field. |
const | AFieldTypeName | string | The type name of the field. |