calebmer / graphql-resolve-batch

A GraphQL batching model which groups execution by GraphQL fields.
MIT License
267 stars 12 forks source link

Add example #3

Closed sibelius closed 7 years ago

sibelius commented 7 years ago

it would be nice to have an example of how to implement this query:

{
  users(limit: 5) {
    name
    friends(limit: 5) {
      name
      friends(limit: 5) {
        name
        friends(limit: 5) {
          name
        }
      }
    }
  }
}

using this package

calebmer commented 7 years ago

Thanks for the suggestion! I’ve added examples that are also now used in the test suite 😊

sibelius commented 7 years ago

tks for the great work