tutti-api - v2.1.0
    Preparing search index...

    Class GraphQLTransport

    Runs GraphQL operations over an HttpClient. Operation-agnostic: add a new operation module and call request — no change here.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Execute an operation and return its unwrapped root field (data[rootField]).

      Type Parameters

      • TResult

      Parameters

      • op: Operation
      • variables: Record<string, unknown>

      Returns Promise<TResult>