Setu-TS
    Preparing search index...

    Interface GraphqlRequestParams

    Parameters for a GraphQL execution request.

    These are produced by the HTTP request parser and consumed by IGraphqlService.execute.

    0.1.0

    interface GraphqlRequestParams {
        extensions?: Record<string, unknown>;
        operationName?: string;
        query: string;
        variables?: Record<string, unknown>;
    }
    Index
    extensions?: Record<string, unknown>

    Optional extensions carried with the request.

    Used by Automatic Persisted Queries (APQ) to pass { version, sha256Hash } under the persistedQuery key. Other extensions are forwarded without interpretation by the framework.

    0.3.0

    operationName?: string

    Operation name for documents with multiple operations.

    query: string

    The GraphQL query string.

    variables?: Record<string, unknown>

    Variables as a record of unknown values (passed through verbatim).