Programatically set the GraphiQL playground URL
See original GitHub issueSet the endpoint for GraphiQL based on off the settings in redwood.toml.
Example:
const server = new ApolloServer({
typeDefs,
resolvers,
playground: {
endpoint: "/dev/graphql"
}
});
Use getConfig() from @redwoodjs/internal to read the redwood.toml file.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
GraphQL Playground - Apollo GraphQL Docs
In development, Apollo Server enables GraphQL Playground on the same URL as the GraphQL server itself (e.g. http://localhost:4000/graphql ) and ...
Read more >Quick Start Guide - GraphQL ASP.NET
This guide will help you get a GraphQL project up and running so you can start experimenting. We'll cover the following:
Read more >How to enable GraphQL Playgorund on a Production ...
Net Core 3.1 with a GraphQL API that I'm going to use in a live demo session and I would like to be...
Read more >Intro to GraphQL for .NET Developers: Schema, Resolver, and ...
Peter introduces you to GraphQL so your REST API client list can grow and ... at the end of the URL in order...
Read more >Super Simple GraphQL Tutorial with C# | Okta Developer
UsePlayground (new PlaygroundOptions { QueryPath = "/api", Path = "/playground" }); } app.UseGraphQL("/api");. This will configure GraphQL ...
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 Free
Top 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

Could I be assigned this issue please?
yes, I believe there are some historical reasons for this (things changed with what was provided) as well as the fact GraphQL Playground is built on top of GraphiQL (I believe).
Correct me otherwise, but I think it’s safe to assume that currently, it’s all GraphQL Playground only.