Setu-TS
    Preparing search index...

    Interface IGraphqlService

    The GraphQL service contract.

    Implementations register themselves under CAPABILITIES.GRAPHQL and are responsible for parsing, validating, and executing GraphQL requests. The HTTP transport layer calls this service and handles media-type negotiation.

    0.1.0

    interface IGraphqlService {
        cachedDocumentCount: number;
        endpoint: string;
        execute(
            params: GraphqlRequestParams,
            requestContext?: IRequestContext,
            method?: "GET" | "POST",
        ): Promise<GraphqlExecutionOutcome>;
        subscribe(
            params: GraphqlRequestParams,
            context?: GraphqlOperationContext,
        ): Promise<GraphqlSubscriptionOutcome>;
    }

    Implemented by

    Index
    cachedDocumentCount: number

    Report the number of cached documents.

    endpoint: string

    The endpoint path where GraphQL is served.