From eb8dcb4b7d6bbd7b9347b8b6b932b84c86b8a57a Mon Sep 17 00:00:00 2001 From: Thierry DEGREMONT Date: Mon, 16 Sep 2024 15:04:36 +0200 Subject: [PATCH] rollback rebase patch --- .../patches/@omnigraph+json-schema+0.97.4.patch | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/packages/graphql-mesh/patches/@omnigraph+json-schema+0.97.4.patch b/packages/graphql-mesh/patches/@omnigraph+json-schema+0.97.4.patch index cbfaf5f..5778222 100644 --- a/packages/graphql-mesh/patches/@omnigraph+json-schema+0.97.4.patch +++ b/packages/graphql-mesh/patches/@omnigraph+json-schema+0.97.4.patch @@ -1,3 +1,15 @@ +diff --git a/node_modules/@omnigraph/json-schema/cjs/addExecutionLogicToComposer.js b/node_modules/@omnigraph/json-schema/cjs/addExecutionLogicToComposer.js +index 9bbb265..491eb4c 100644 +--- a/node_modules/@omnigraph/json-schema/cjs/addExecutionLogicToComposer.js ++++ b/node_modules/@omnigraph/json-schema/cjs/addExecutionLogicToComposer.js +@@ -49,6 +49,7 @@ async function addExecutionDirectivesToComposer(name, { schemaComposer, logger, + >**Method**: \`${operationConfig.method}\` + >**Base URL**: \`${endpoint}\` + >**Path**: \`${operationConfig.path}\` ++>**Version**: \`${name.split('@')[1]}\` + ${operationConfig.description || ''} + `; + } diff --git a/node_modules/@omnigraph/json-schema/cjs/addRootFieldResolver.js b/node_modules/@omnigraph/json-schema/cjs/addRootFieldResolver.js old mode 100644 new mode 100755 @@ -25,4 +37,4 @@ index 8006747..f2af17c + const headers = {}; for (const headerName in globalOperationHeaders) { - const nonInterpolatedValue = globalOperationHeaders[headerName]; + const nonInterpolatedValue = globalOperationHeaders[headerName]; \ No newline at end of file