Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix losing defer info when cloning fetch groups #2129

Merged
merged 2 commits into from
Sep 6, 2022

Conversation

pcmanus
Copy link
Contributor

@pcmanus pcmanus commented Sep 5, 2022

When @defer was added, the method cloning FetchGroup was mistakenly
not updated to preserve the related information. This means that in
case where the query planner had to consider multiple options for a
plan, the some deferred fetch may end up losing their defer information.

Fixes #2128

@netlify
Copy link

netlify bot commented Sep 5, 2022

👷 Deploy request for apollo-federation-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 2ff0aa2

@pcmanus pcmanus self-assigned this Sep 5, 2022
@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 5, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Sylvain Lebresne added 2 commits September 6, 2022 09:47
When `@defer` was added, the method cloning `FetchGroup` was mistakenly
not updated to preserve the related information. This means that in
case where the query planner had to consider multiple options for a
plan, the some deferred fetch may end up losing their defer information.

Fixes apollographql#2128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

query plan sequencing affected with __typename in fragment
2 participants