Repository URL to install this package:
|
Version:
1.2.13 ▾
|
"use strict";
var _graphene = require("graphene");
class Query extends _graphene.ObjectType {
constructor(...args) {
var _temp;
return _temp = super(...args), Object.defineProperty(this, "hello", {
configurable: true,
enumerable: true,
writable: true,
value: new _graphene.String()
}), _temp;
}
helloResolver() {
return "Hello world!";
}
}
const schema = new _graphene.Schema(Query);