Conversation
…ation Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/bed99d21-dd1a-471a-bc86-ae8f417a3589 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/6eb62030-6bdd-4b82-af9c-c93afc59c872 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
ardatan
April 4, 2026 11:55
View session
|
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Hive Gateway “Deduplicate Inflight Requests” documentation to cover the newly introduced inbound (gateway-level) inflight request deduplication, alongside the existing outbound (transport-level) deduplication, clarifying when each applies and how to configure them.
Changes:
- Reintroduces/expands the introduction and reframes the page around two deduplication layers (outbound vs inbound).
- Documents inbound deduplication configuration (enable flag, key composition, header filtering, key customization, per-request enabling).
- Adds a limitations section for inbound deduplication (queries only; excludes
@defer/@stream).
Comments suppressed due to low confidence (1)
packages/documentation/content/docs/gateway/other-features/performance/deduplicate-inflight-requests.mdx:30
- The example imports
HTTPTransportOptionsfrom@graphql-tools/executor-httpas a value import. Elsewhere in these docs (e.g. the gateway v1→v2 migration guide)HTTPTransportOptionsis shown as atypeimport, and it’s imported from@graphql-hive/gateway. To keep examples consistent and avoid potential runtime import issues in TS transpilers that preserve value imports, consider switching this to a type-only import and aligning the import source with the migration guide.
import { defineConfig } from "@graphql-hive/gateway";
import { HTTPTransportOptions } from "@graphql-tools/executor-http";
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
...umentation/content/docs/gateway/other-features/performance/deduplicate-inflight-requests.mdx
Outdated
Show resolved
Hide resolved
...umentation/content/docs/gateway/other-features/performance/deduplicate-inflight-requests.mdx
Outdated
Show resolved
Hide resolved
...umentation/content/docs/gateway/other-features/performance/deduplicate-inflight-requests.mdx
Show resolved
Hide resolved
Member
|
@copilot apply changes based on the comments in this thread |
…nd add data-leakage warnings Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/d2742b15-dd3d-49ac-bc64-0cbf75aa2aa4 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Contributor
Author
Applied all three changes from that review thread in commit
|
ardatan
reviewed
Apr 4, 2026
...umentation/content/docs/gateway/other-features/performance/deduplicate-inflight-requests.mdx
Outdated
Show resolved
Hide resolved
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/3538e337-c4f2-4f91-a82c-aca3178412cb Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
ardatan
approved these changes
Apr 4, 2026
enisdenjo
approved these changes
Apr 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The deduplication page previously only covered outbound (transport-level) deduplication. This adds documentation for the new inbound gateway-level deduplication introduced in graphql-hive/gateway#2179, modelled after the Router's equivalent docs.
Changes
shouldIncludeHeadergetDeduplicationKeysenabled@defer/@streamexcluded