graphql-yoga
Version:
12 lines (11 loc) • 358 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createSchema = void 0;
const schema_1 = require("@graphql-tools/schema");
// eslint-disable-next-line @typescript-eslint/ban-types
function createSchema(opts) {
return (0, schema_1.makeExecutableSchema)({
...opts,
});
}
exports.createSchema = createSchema;