Skip to content

Commit b145a27

Browse files
authored
fix: type of contentEncoding option (#806)
1 parent cc9cf60 commit b145a27

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/angry-countries-act.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@graphql-hive/gateway': patch
3+
'@graphql-hive/gateway-runtime': patch
4+
---
5+
6+
Fix `contentEncoding` type in `defineConfig`

packages/runtime/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ interface GatewayConfigBase<TContext extends Record<string, any>> {
542542
*
543543
* [Learn more](https://graphql-hive.com/docs/gateway/other-features/performance/compression)
544544
*/
545-
contentEncoding?: false | UseContentEncodingOpts;
545+
contentEncoding?: boolean | UseContentEncodingOpts;
546546

547547
/**
548548
* Enable `@defer` and `@stream` support

0 commit comments

Comments
 (0)