Playground endpoints settings doesn't work as expected #429
Replies: 13 comments 1 reply
|
The actual properties are: graphql.playground.endpoint=/test/custom/graphql
graphql.playground.subscriptionEndpoint=/test/custom/subscriptions |
|
Also, for custom static base path, this should be the correct property: graphql.playground.staticPath.base=/custom-static-path |
|
Nevertheless, I found a typo in the documentation :) |
|
Hi @BlasiusSecundus, I have the parent yml block I looked at the documentation and the source code oh this starter. I worked on Altair starter and I haven't any issue like this. |
|
Note that the Playground starter uses slightly different properties than Altair / GraphiQL. |
|
E. g. for GraphiQL / Altair, the property for custom GraphQL endpoint is indeed |
|
I used the right properties as it was expected in the documentation. If you have a small projet, let's add playground starter and you'll see if it's a bug or not. May be I missed something. |
|
This should work: graphql:
playground:
endpoint: /custom/test/graphql
subscriptionEndpoint: /custom/test/subscriptions |
|
Hi, I've been facing issues getting subscriptions to work in my GraphQL Playground as well. I have tried the latest yml settings above ^, but I still get the same error of May I know if there is some way to override the settings in Playground? Additionally, when I try the websocket url ( Been wondering for quite a while if websockets need to be manually implemented in Springboot, but if I understand correctly they do not. Thank you! P.S. I'm referencing the |
|
As for graphql:
servlet:
mapping: /custom-graphql-endpoint
subscriptions:
websocket:
path: /custom-subscriptions-endpoint
playground:
endpoint: /custom-graphql-endpoint
subscriptionEndpoint: /custom-subscriptions-endpoint |
|
@BlasiusSecundus I have
Version |
|
@dusan-eremic I will check. This could be a Playground issue. |
|
I also see the similar issue with #919 wich dosent allow me to override the default values in the PlaygroundController |

Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Playground endpoints settings doesn't work as expected, can't override default values.
To Reproduce
Steps to reproduce the behavior:
Expected behavior

endpoints settings works as expected.
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
All reactions