TSchemaUnionType Class
Represents a GraphQL union type.
Syntax
Unit: GraphQL.Schema
TSchemaUnionType = class(TSchemaNamedType);
Constructors
| Name |
Description |
| Create |
Creates the union type with the specified name.
|
Methods
| Name |
Description |
| AddMemberType |
Adds the specified type as one member of this union type.
|
| IsMemberType |
Returns true if the specified type belongs to the union type.
|
Properties
| Name |
Description |
| MemberTypes |
Returns all the object types in the schema that belong to this union type.
|
| Resolver |
Contains the type resolver to be used to resolve (find) the abstract type for the union.
|