Skip to content

Commit

Permalink
✨ Display operation version
Browse files Browse the repository at this point in the history
  • Loading branch information
adbouygues committed Aug 6, 2024
1 parent 5171d9f commit e9e4ab3
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 e9e4ab3

Please sign in to comment.