@graphql-tools/executor-common
Advanced tools
Comparing version
# @graphql-tools/executor-common | ||
## 0.0.4-alpha-d417bf8dc4b758ab7dd536451b2bbfaca3345020 | ||
## 0.0.4-alpha-f1d02dd7da1004cfd1ec3d5fc48d4dfc60bbd6d1 | ||
### Patch Changes | ||
- [#706](https://github.com/graphql-hive/gateway/pull/706) [`58e7923`](https://github.com/graphql-hive/gateway/commit/58e7923f6d7bc1c07ae3d7ec88450158b640849a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates: | ||
- [#706](https://github.com/graphql-hive/gateway/pull/706) [`e393337`](https://github.com/graphql-hive/gateway/commit/e393337ecb40beffb79748b19b5aa8f2fd9197b7) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates: | ||
@@ -9,0 +9,0 @@ - Updated dependency [`@envelop/core@^5.2.3` ↗︎](https://www.npmjs.com/package/@envelop/core/v/5.2.3) (from `^5.1.0`, in `dependencies`) |
@@ -25,3 +25,18 @@ import { ExecutionRequest } from '@graphql-tools/utils'; | ||
declare function serializeExecutionRequest(opts: ExecutionRequestToGraphQLParams): SerializedExecutionRequest; | ||
interface UpstreamErrorExtensions { | ||
code?: string; | ||
serviceName?: string; | ||
request: { | ||
url?: string; | ||
method?: string; | ||
body?: unknown; | ||
}; | ||
response?: { | ||
status?: number; | ||
statusText?: string; | ||
headers?: Record<string, string>; | ||
body?: unknown; | ||
}; | ||
} | ||
export { type SerializedExecutionRequest, defaultPrintFn, serializeExecutionRequest }; | ||
export { type SerializedExecutionRequest, type UpstreamErrorExtensions, defaultPrintFn, serializeExecutionRequest }; |
{ | ||
"name": "@graphql-tools/executor-common", | ||
"version": "0.0.4-alpha-d417bf8dc4b758ab7dd536451b2bbfaca3345020", | ||
"version": "0.0.4-alpha-f1d02dd7da1004cfd1ec3d5fc48d4dfc60bbd6d1", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "A set of utils for faster development of GraphQL tools", |
Sorry, the diff of this file is not supported yet
9187
8.25%79
23.44%