graphql-composer
Version:
Create your GraphQL API using composition!
20 lines • 457 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Variable = void 0;
class Variable {
constructor(name, type) {
this._name = name;
this._type = type;
}
get name() {
return this._name;
}
get type() {
return this._type;
}
static create(name, type) {
return new Variable(name, type);
}
}
exports.Variable = Variable;
//# sourceMappingURL=Variable.js.map
;