🚀 GraphQL Complexity Playground

Interactive demo of the graphql-complexity Python library

Open GraphiQL IDE → View on GitHub

Try These Queries

✅ Simple Query (Low Complexity - Below limit of 10)

This query should pass complexity validation:

query SimpleQuery {
  hello
  users {
    id
    name
  }
}

⚠️ Nested Query (Medium Complexity - Below limit of 10)

This query has moderate complexity:

query NestedQuery {
  users {
    id
    name
    posts {
      id
      title
    }
  }
}

❌ Deeply Nested (High Complexity - Above limit of 10)

This query will likely exceed the limit:

query DeepNesting {
  users {
    id
    name
    posts {
      id
      title
      author {
        id
        name
        posts {
          id
          title
          author {
            name
          }
        }
      }
    }
  }
}

Features