@grapi/server
Version:
Grapi Schema Generator For GraphQL Server
20 lines (19 loc) • 402 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const graphql_1 = require("graphql");
class ObjectValue {
fields;
constructor({ fields }) {
this.fields = fields;
}
isScalar() {
return false;
}
getType() {
return graphql_1.Kind.OBJECT;
}
getValue() {
return this.fields;
}
}
exports.default = ObjectValue;