Skip to content

Commit

Permalink
🐛 Fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
adbouygues committed Aug 6, 2024
1 parent 3cb76de commit 44ca56a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/@graphql-tools+executor+1.2.1.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff --git a/node_modules/@graphql-tools/executor/cjs/execution/execute.js b/node_modules/@graphql-tools/executor/cjs/execution/execute.js
old mode 100644
new mode 100755
index 791e3df..1e8e7fb
index 791e3df..0210559
--- a/node_modules/@graphql-tools/executor/cjs/execution/execute.js
+++ b/node_modules/@graphql-tools/executor/cjs/execution/execute.js
@@ -628,8 +628,13 @@ function completeAbstractValue(exeContext, returnType, fieldNodes, info, path, r
Expand Down Expand Up @@ -32,7 +32,7 @@ index 791e3df..1e8e7fb
+ const splits = runtimeTypeName.split('_')
+ // Remove the version
+ splits.pop()
+ let joinedSplits = f.join('_')
+ let joinedSplits = splits.join('_')
+ // If the runtimeTypeName is not versioned
+ if (joinedSplits === "") {
+ joinedSplits = runtimeTypeName
Expand Down

0 comments on commit 44ca56a

Please sign in to comment.