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

Remove deferSpec=20220824 from the response headers #7915

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jer-k
Copy link

@jer-k jer-k commented Aug 7, 2024

Fixes #7909

In the issue I noted

Is there any reason to add the deferSpec=20220824 to the response header? Without it Apollo Client behaves properly and the devtools are able to preview the response data.

Unfortunately no response on the issue but I couldn't find any information as to why deferSpec would need to be in the response headers. If there is a need for it then this PR can be closed.

By removing it the Preview pane in devtools is able to display the deferred data

Before:
image

After:
image.

Tests

I updated the existing tests as this isn't adding anything net new

Copy link

netlify bot commented Aug 7, 2024

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

Visit the deploys page to approve it

Name Link
🔨 Latest commit 494dd99

Copy link

codesandbox-ci bot commented Aug 7, 2024

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.

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.

Adding deferSpec=20220824 to response headers breaks the Preview pane in browser devtools
1 participant