@graphql-mesh/transport-odata
Version:
13 lines (12 loc) • 434 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const transport_common_1 = require("@graphql-mesh/transport-common");
const odata_1 = require("@omnigraph/odata");
exports.default = {
getSubgraphExecutor({ subgraph, fetch }) {
return (0, transport_common_1.createDefaultExecutor)((0, odata_1.processDirectives)({
schema: subgraph,
fetchFn: fetch,
}));
},
};
;