UNPKG

@graphql-yoga/urql-exchange

Version:
11 lines (10 loc) 503 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.yogaExchange = void 0; const executor_http_1 = require("@graphql-tools/executor-http"); const executor_urql_exchange_1 = require("@graphql-tools/executor-urql-exchange"); function yogaExchange(options) { // eslint-disable-next-line @typescript-eslint/no-explicit-any return (0, executor_urql_exchange_1.executorExchange)((0, executor_http_1.buildHTTPExecutor)(options)); } exports.yogaExchange = yogaExchange;