Search Results for

    Show / Hide Table of Contents

    TSchemaDocumentHelper.Init Method

    Initializes the schema to be used in GraphQL execution.

    Remarks

    A schema can only be used in a GraphQL execution if it's prepared, otherwise an error is raised. A schema initialization will add missing instrospection types, and do further validation of the schema, checking if all type references exist, if the types are correclty defined according to GraphQL specs, among others. A succesful initialization sets the Initialized property to true, and the schema types and properties should not be further modified after the schema was initialized.

    Syntax

    Unit: GraphQL.Helpers

    procedure TSchemaDocumentHelper.Init;

    See also

    • TSchemaDocumentHelper
    In This Article
    Back to top GraphQL for Delphi v1.4
    © 2021 - 2024 tmssoftware.com