From 4c1de074259b33c9e8f35d8ce1850e9ebf153255 Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU Date: Mon, 2 Dec 2024 16:56:12 +0300 Subject: [PATCH] FRMAT --- packages/batch-execute/src/mergeRequests.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/batch-execute/src/mergeRequests.ts b/packages/batch-execute/src/mergeRequests.ts index ecc54289..27ca9811 100644 --- a/packages/batch-execute/src/mergeRequests.ts +++ b/packages/batch-execute/src/mergeRequests.ts @@ -174,14 +174,18 @@ function prefixRequest( if (executionVariables) { prefixedVariables = Object.create(null); for (const variableName in executionVariables) { - prefixedVariables[prefix + variableName] = executionVariables[variableName]; + prefixedVariables[prefix + variableName] = + executionVariables[variableName]; } } if (hasFragments) { prefixedDocument = { ...prefixedDocument, - definitions: prefixedDocument.definitions.filter((def) => !isFragmentDefinition(def) || fragmentSpreadImpl[def.name.value]), + definitions: prefixedDocument.definitions.filter( + (def) => + !isFragmentDefinition(def) || fragmentSpreadImpl[def.name.value], + ), }; }