Search Results for

    Show / Hide Table of Contents

    TSchemaAssignableType Class

    A GraphQL type that can be assigned to a property as a reference to a schema type.

    Remarks

    This type is a specific construction of GraphQL for Delphi to avoid multiple references to multiple TSchemaType instances representing the same GraphQL type. Descendants of this class are TSchemaNonNullType and TSchemaListType, which are the "anonymous" (non-named) types in GraphQL. That's why you can only assign types like this. When you need to assign a named type to a property, the library will usually provide an overloaded method where you just pass the referenced type name, instead of an assignable type.

    Syntax

    Unit: GraphQL.Schema

    TSchemaAssignableType = class(TSchemaType);
    In This Article
    Back to top GraphQL for Delphi v1.4
    © 2021 - 2024 tmssoftware.com