Files
Home_Buying_App/node_modules/@apollo/server/dist/esm/incrementalDeliveryPolyfill.js
jackbeeby b412dfe2ca Initialisation
Added the packages and files for the backend server
2024-12-15 17:48:45 +11:00

23 lines
791 B
JavaScript

import { execute, } from 'graphql';
let graphqlExperimentalExecuteIncrementally = undefined;
async function tryToLoadGraphQL17() {
if (graphqlExperimentalExecuteIncrementally !== undefined) {
return;
}
const graphql = await import('graphql');
if ('experimentalExecuteIncrementally' in graphql) {
graphqlExperimentalExecuteIncrementally = graphql
.experimentalExecuteIncrementally;
}
else {
graphqlExperimentalExecuteIncrementally = null;
}
}
export async function executeIncrementally(args) {
await tryToLoadGraphQL17();
if (graphqlExperimentalExecuteIncrementally) {
return graphqlExperimentalExecuteIncrementally(args);
}
return execute(args);
}
//# sourceMappingURL=incrementalDeliveryPolyfill.js.map