UNPKG

proto2graphql

Version:

Converts schema definitions in Protocol Buffer to GraphQL

12 lines 351 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getType = exports.setType = void 0; function setType(type, context) { context.types[type.name] = type; } exports.setType = setType; function getType(name, context) { return context.types[name]; } exports.getType = getType; //# sourceMappingURL=context.js.map