Initial Save
This commit is contained in:
14
node_modules/graphql-tools/dist/transforms/CheckResultAndHandleErrors.js
generated
vendored
Normal file
14
node_modules/graphql-tools/dist/transforms/CheckResultAndHandleErrors.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var errors_1 = require("../stitching/errors");
|
||||
var CheckResultAndHandleErrors = /** @class */ (function () {
|
||||
function CheckResultAndHandleErrors(info, fieldName) {
|
||||
this.info = info;
|
||||
this.fieldName = fieldName;
|
||||
}
|
||||
CheckResultAndHandleErrors.prototype.transformResult = function (result) {
|
||||
return errors_1.checkResultAndHandleErrors(result, this.info, this.fieldName);
|
||||
};
|
||||
return CheckResultAndHandleErrors;
|
||||
}());
|
||||
exports.default = CheckResultAndHandleErrors;
|
||||
//# sourceMappingURL=CheckResultAndHandleErrors.js.map
|
||||
Reference in New Issue
Block a user