Closed yizeng closed 6 years ago
That has probably little to do with depth, but has to do with something the graphql API is returning. Likely a Graphlient bug. I'll debug, but you could help if you want and see what data it's choking on in graphql_error.rb
.
Error message fixed in https://github.com/dblock/fue/commit/4a0655687ace5ff2421e3d2f921fe5105b1e85bd, already fixed in Graphlient.
With the same command you now get a better error: Requesting 1000 records on the
repositoriesconnection exceeds the
lastlimit of 100 records.
, which clarifies what's going on. I updated the README to say that the max limit is 100. We can probably paginate over repositories to increase the limit, I renamed this issue to represent what we want to do.
Works fine when the depth is 100, but a GraphQL error is thrown when depth is 1000.