graphql
Version:
A Query Language and Runtime which can target any service.
21 lines • 709 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildResolveInfo = buildResolveInfo;
function buildResolveInfo(validatedExecutionArgs, fieldDef, fieldNodes, parentType, path, getAbortSignal, getAsyncHelpers) {
const { schema, fragmentDefinitions, rootValue, operation, variableValues } = validatedExecutionArgs;
return {
fieldName: fieldDef.name,
fieldNodes,
returnType: fieldDef.type,
parentType,
path,
schema,
fragments: fragmentDefinitions,
rootValue,
operation,
variableValues,
getAbortSignal,
getAsyncHelpers,
};
}
//# sourceMappingURL=buildResolveInfo.js.map