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

voyager can not load while max query depth sets #691

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

You must be logged in to vote

@SongHayoung - below is the introspection query GraphQL Voayger uses to render its UX

As you can see - it definitely has a query depth larger than 4 😄. You'll have to consider how you use this depth limiting feature with/without GraphQL Voyager

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
    args {
      ...InputValue…

Replies: 2 comments

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

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