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 |
Beta Was this translation helpful? Give feedback.
-
Also, for custom static base path, this should be the correct property: graphql.playground.staticPath.base=/custom-static-path |
Beta Was this translation helpful? Give feedback.
-
Nevertheless, I found a typo in the documentation :) |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Note that the Playground starter uses slightly different properties than Altair / GraphiQL. |
Beta Was this translation helpful? Give feedback.
-
E. g. for GraphiQL / Altair, the property for custom GraphQL endpoint is indeed |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
This should work: graphql:
playground:
endpoint: /custom/test/graphql
subscriptionEndpoint: /custom/test/subscriptions |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
As for graphql:
servlet:
mapping: /custom-graphql-endpoint
subscriptions:
websocket:
path: /custom-subscriptions-endpoint
playground:
endpoint: /custom-graphql-endpoint
subscriptionEndpoint: /custom-subscriptions-endpoint |
Beta Was this translation helpful? Give feedback.
-
@BlasiusSecundus I have
Version |
Beta Was this translation helpful? Give feedback.
-
@dusan-eremic I will check. This could be a Playground issue. |
Beta Was this translation helpful? Give feedback.
-
I also see the similar issue with #919 wich dosent allow me to override the default values in the PlaygroundController |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions