Skip to content

Commit

Permalink
Merge pull request #31 from BouyguesTelecom/feat/enhance-graphql-doc
Browse files Browse the repository at this point in the history
✨ Display the operation version
  • Loading branch information
arnaud authored Aug 26, 2024
2 parents 7657378 + e9e4ab3 commit 08248a2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/graphql-mesh/patches/@omnigraph+json-schema+0.97.4.patch
Original file line number Diff line number Diff line change
@@ -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
index 8006747..dfc6825 100644
--- a/node_modules/@omnigraph/json-schema/cjs/addRootFieldResolver.js
Expand Down

0 comments on commit 08248a2

Please sign in to comment.