GraphQL Playground settings do not get set
See original GitHub issueconst server = new ApolloServer({
playground: {
settings: {
'request.credentials': 'include',
}
},
...otherServerSettings
);
Go to your GraphQL Playground route, and notice that the settings are just default settings.
related to github.com/prisma/graphql-playground/issues/741
Adding this here as there appears to be a copy of graphql-playground-html
under the @apollographql
namespace, and will possibly need to be updated when they fix this.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:6
Top Results From Across the Web
GraphQL Playground - Apollo GraphQL Docs
Configuring Playground The Apollo Server constructor contains the ability to configure GraphQL Playground with the playground configuration option. The options ...
Read more >Complete guide to GraphQL Playground - LogRocket Blog
GraphQL Playground can be used like GraphiQL to send queries with variables. ... Here, we use the “QUERY VARIABLES” tab to add the...
Read more >How to make GraphQL playground not display selected options?
In the dropdown I'd like to see only the options I still can select, not the ones already selected. Here's my index.ts const...
Read more >GraphQL.Server.Ui.Playground 7.2.0 - NuGet
Also you can get all preview versions from GitHub Packages. ... Although not recommended, you may set up a controller action to execute...
Read more >graphql-playground-middleware-express Code Examples - Snyk
To help you get started, we've selected a few graphql-playground-middleware-express examples, based on popular ways it is used in public projects.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue using the latest apollo-server-express 2.1.0
I am still seeing this issue and have no workaround at the moment other than to wire up graphql-playground or graphiql manually. I am using
apollo-server-express@2.10.1
and@apollographql/graphql-playground-html@1.6.24
. Not being able to set'request.credentials': 'include'
means that this is unusable for my API which uses a session cookie for authentication.