@graphql-tools/executor-http
Advanced tools
Comparing version 1.2.3-alpha-73dbe3a2dabb6b84105c4dac3586696daa3d4fcb to 1.2.3-alpha-c1c9af06e2b55777ff5a00ff91a3f235f6917202
# @graphql-tools/executor-http | ||
## 1.2.3-alpha-73dbe3a2dabb6b84105c4dac3586696daa3d4fcb | ||
## 1.2.3-alpha-c1c9af06e2b55777ff5a00ff91a3f235f6917202 | ||
### Patch Changes | ||
- [#381](https://github.com/graphql-hive/gateway/pull/381) [`e31d79c`](https://github.com/graphql-hive/gateway/commit/e31d79c704014d5180074bdb3ce11dcd1675eb58) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: | ||
- Added dependency [`@graphql-tools/executor-common@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-tools/executor-common/v/workspace:^) (to `dependencies`) | ||
- [#381](https://github.com/graphql-hive/gateway/pull/381) [`73dbe3a`](https://github.com/graphql-hive/gateway/commit/73dbe3a2dabb6b84105c4dac3586696daa3d4fcb) Thanks [@ardatan](https://github.com/ardatan)! - Like HMAC Upstream Signature plugin, different components of the gateway were using different ways of serializing the execution request. | ||
@@ -13,2 +17,5 @@ Some of them were ignoring `variables` if it is empty, some of not, this was causing the signature generation to be different for the same query. | ||
- Updated dependencies [[`73dbe3a`](https://github.com/graphql-hive/gateway/commit/73dbe3a2dabb6b84105c4dac3586696daa3d4fcb)]: | ||
- @graphql-tools/executor-common@0.0.1-alpha-c1c9af06e2b55777ff5a00ff91a3f235f6917202 | ||
## 1.2.2 | ||
@@ -15,0 +22,0 @@ |
import { abortSignalAny } from '@graphql-hive/gateway-abort-signal-any'; | ||
import { defaultPrintFn, executionRequestToGraphQLParams } from '@graphql-tools/executor-common'; | ||
import { defaultPrintFn, serializeExecutionRequest } from '@graphql-tools/executor-common'; | ||
import { isAsyncIterable, isPromise, mapMaybePromise, createGraphQLError, inspect, mapAsyncIterator, mergeIncrementalResult, memoize1, getOperationASTFromRequest } from '@graphql-tools/utils'; | ||
@@ -353,3 +353,3 @@ import { DisposableSymbols } from '@whatwg-node/disposablestack'; | ||
let serializeFn = function serialize() { | ||
return executionRequestToGraphQLParams({ | ||
return serializeExecutionRequest({ | ||
executionRequest: request, | ||
@@ -368,3 +368,3 @@ excludeQuery, | ||
}; | ||
return executionRequestToGraphQLParams({ | ||
return serializeExecutionRequest({ | ||
executionRequest: { | ||
@@ -371,0 +371,0 @@ ...request, |
{ | ||
"name": "@graphql-tools/executor-http", | ||
"version": "1.2.3-alpha-73dbe3a2dabb6b84105c4dac3586696daa3d4fcb", | ||
"version": "1.2.3-alpha-c1c9af06e2b55777ff5a00ff91a3f235f6917202", | ||
"type": "module", | ||
@@ -43,3 +43,3 @@ "description": "A set of utils for faster development of GraphQL tools", | ||
"@graphql-hive/gateway-abort-signal-any": "^0.0.2", | ||
"@graphql-tools/executor-common": "^0.0.0", | ||
"@graphql-tools/executor-common": "0.0.1-alpha-c1c9af06e2b55777ff5a00ff91a3f235f6917202", | ||
"@graphql-tools/utils": "^10.7.0", | ||
@@ -46,0 +46,0 @@ "@repeaterjs/repeater": "^3.0.4", |
Sorry, the diff of this file is not supported yet
73644