This issue pertains to the following package(s):
What OS and OS version are you experiencing the issue(s) on?
Ubuntu 16.04.4 LTS xenial
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
1.7.0
What is the expected behavior?
It should send browser cookies along with the GraphQL request.
What is the actual behavior?
The cookies are absent in the request originating from Playground.
What steps may we take to reproduce the behavior?
You can reproduce it with a demo app on glitch
- Open the app to land at
/, a cookie is set
- Navigate to
/graphql and run a query { hello }
- Observe the browser console and/or glitch console

You can see that Cookie is missing from Request Headers even though it is set in the browser

The cookie is hence not sent over to express

Note that the demo app runs on Apollo Server v2 which uses apollo-server-express version 1.7.0 under the hood. I took the following screenshot from twitch terminal, inside node_modules

This issue pertains to the following package(s):
What OS and OS version are you experiencing the issue(s) on?
Ubuntu 16.04.4 LTS xenial
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
1.7.0
What is the expected behavior?
It should send browser cookies along with the GraphQL request.
What is the actual behavior?
The cookies are absent in the request originating from Playground.
What steps may we take to reproduce the behavior?
You can reproduce it with a demo app on glitch
/, a cookie is set/graphqland run a query{ hello }You can see that Cookie is missing from Request Headers even though it is set in the browser
The cookie is hence not sent over to express
Note that the demo app runs on Apollo Server v2 which uses
apollo-server-expressversion1.7.0under the hood. I took the following screenshot from twitch terminal, insidenode_modules