apollo-server
apollo-server copied to clipboard
Remove deferSpec=20220824 from the response headers
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:
After:
.
Tests
I updated the existing tests as this isn't adding anything net new
Deploy request for apollo-server-docs pending review.
Visit the deploys page to approve it
| Name | Link |
|---|---|
| Latest commit | 494dd994852b34cd6a11c2316a94bc9c8962c12f |
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.
https://github.com/apollographql/apollo-server/issues/7909#issuecomment-3033966779