apollo-server icon indicating copy to clipboard operation
apollo-server copied to clipboard

Remove deferSpec=20220824 from the response headers

Open jer-k opened this issue 1 year ago • 2 comments

Fixes https://github.com/apollographql/apollo-server/issues/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

jer-k avatar Aug 07 '24 19:08 jer-k

Deploy request for apollo-server-docs pending review.

Visit the deploys page to approve it

Name Link
Latest commit 494dd994852b34cd6a11c2316a94bc9c8962c12f

netlify[bot] avatar Aug 07 '24 19:08 netlify[bot]

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.

codesandbox-ci[bot] avatar Aug 07 '24 19:08 codesandbox-ci[bot]

https://github.com/apollographql/apollo-server/issues/7909#issuecomment-3033966779

glasser avatar Jul 04 '25 00:07 glasser