Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GraphQL Playground #46

Conversation

GabrielMajeri
Copy link
Contributor

What does it fix?

This PR adds support for GraphQL Playground to introspect and play with the existing GraphQL API in the browser.

image

I've also simplified the Startup.cs code by replacing the AddGraphQLNamespaces method with the built in AddGraphTypes method.

How has it been tested?

Running the project locally and navigating to https://localhost:5001/ui/playground.

@GabrielMajeri
Copy link
Contributor Author

@alexandru-calinoiu I've now discovered that the GraphQL Playground project is on hiatus and being merged into GraphiQL.

GraphQL.NET also supports GraphiQL and Altair as alternative browser clients. Do you want to stick with Playground or should we switch to either one of those?

@pirvudoru
Copy link
Member

@GabrielMajeri thank you for your contribution. It would be great if we use GraphiQL since that has support going forward. I will close this PR and please open a new one that enables GraphiQL.

@pirvudoru pirvudoru closed this Aug 22, 2021
@GabrielMajeri GabrielMajeri deleted the add-support-for-graphql-playground branch August 23, 2021 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants