UNPKG

graphql-modules

Version:

Create reusable, maintainable, testable and extendable GraphQL modules

11 lines (10 loc) 275 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.execute = execute; function execute(app, inputs, options) { const executor = app.createExecution(options); return executor({ schema: app.schema, ...inputs, }); }