graphql-resolve-batch icon indicating copy to clipboard operation
graphql-resolve-batch copied to clipboard

Does it support cross object batching with different args?

Open akomm opened this issue 7 years ago • 0 comments

Example query:

query CrossBatchLoadingQuery { # QueryType
  me { # UserType plural=false
    friends(limit: 5) { # UserType plural=true
      id
    }
  }
  users(limit: 10) { # UserType plural=true
    id
    friends(limit: 4) { # UserType plural=true
      id
    }
  }
}

To batch load cross tree paths you would have to group batching by "type-field-normalized(args)"-identity.

akomm avatar Jan 23 '18 16:01 akomm