-
Enabling the graphql.servlet.maxQueryDepth property to an arbitrary value causes the graphql playground docs and schema tabs to never load and stays "spinning" infinitely. This also seems to be affecting Voyager, if installed. After I removed this property in my application.yml file, my docs and schema are working fine. Using v11.1.0 of graphql-spring-boot |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Can you share more information? Maybe your pom.xml file? I've tried setting this property on my graphql server using the same version of graphql-spring-boot and my playground seems to work fine. |
Beta Was this translation helpful? Give feedback.
-
Yes, I got the same problem.
graphql.servlet.maxQueryDepth=10 #This causes the problem |
Beta Was this translation helpful? Give feedback.
-
Hi @bryevo @DevelopmentBaxter - same reason as shared in #672. GraphQL Tooling such as Playground, Voyager, Altair, GraphiQL etc all perform introspection queries in order to build their experience. Example introspection query below to show the type of depth this query has
|
Beta Was this translation helpful? Give feedback.
-
@setchy Think this issue should be converted into a Q&A Discussion instead with your comment as the accepted answer. This is not a bug or problem on our end imo, but simply expected behavior. Do you agree? |
Beta Was this translation helpful? Give feedback.
-
I agree @oliemansm 😃 |
Beta Was this translation helpful? Give feedback.
Hi @bryevo @DevelopmentBaxter - same reason as shared in #672.
GraphQL Tooling such as Playground, Voyager, Altair, GraphiQL etc all perform introspection queries in order to build their experience. Example introspection query below to show the type of depth this query has