Skip to content

Adds support for setting GraphQL Playground endpoints.#92

Merged
chris-ramon merged 4 commits into
masterfrom
graphql-playground-endpoint-support
May 17, 2024
Merged

Adds support for setting GraphQL Playground endpoints.#92
chris-ramon merged 4 commits into
masterfrom
graphql-playground-endpoint-support

Conversation

@chris-ramon

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

Copy link
Copy Markdown
Member

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

coveralls commented May 17, 2024

Copy link
Copy Markdown

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
@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.

3 participants