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

Adds support for setting GraphQL Playground endpoints. #92

Merged
merged 4 commits into from
May 17, 2024

Conversation

chris-ramon
Copy link
Member

@chris-ramon chris-ramon commented May 17, 2024

Description

h := handler.New(&handler.Config{
	Schema:     &schema,
	Playground: true,
	PlaygroundConfig: &handler.PlaygroundConfig{
		Endpoint:             "/custom-path/graphql",
		SubscriptionEndpoint: "/custom-path/ws",
	},
})

Test Plan

  • Unit tests.

@coveralls
Copy link

coveralls commented May 17, 2024

Coverage Status

coverage: 87.864% (+0.4%) from 87.437%
when pulling 5f4c951 on graphql-playground-endpoint-support
into f96ffdd on master.

@chris-ramon chris-ramon self-assigned this May 17, 2024
@chris-ramon chris-ramon merged commit 62f4eb5 into master May 17, 2024
5 checks passed
@chris-ramon chris-ramon deleted the graphql-playground-endpoint-support branch May 17, 2024 17:41
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.

None yet

3 participants