Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

enabling graphql.servlet.maxQueryDepth causes playground docs/schema to never load #690

Answered by setchy
bryevo asked this question in Q&A
Discussion options

You must be logged in to vote

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

query IntrospectionQuery {
  __schema {
    queryType {
      name
    }
    mutationType {
      name
    }
    subscriptionType {
      name
    }
    types {
      ...FullType
    }
    directives {
      name
      description
      locations
      args {
        ...InputValue
      }
    }
  }
}

fragment FullType on __Type {
  kind
  name
  description
  fields(includeDeprecated: true) {
    name
    description
 …

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by setchy
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
5 participants
Converted from issue

This discussion was converted from issue #648 on August 19, 2021 14:34.