I've got a dynamic list of github repository urls (lets say size is < 100). I'd like to query a particular information of each of them using GraphQL.
Can I do it with one batch request?
Okay, I've found a solution. Only works if you know global node_id
of each repository, which is definitely my case.
query($ids: [ID!]!) {
nodes(ids: $ids) {
... on Repository {
name
description
}
}
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.