【发布时间】:2021-05-07 08:00:55
【问题描述】:
我正在尝试这个get github issues by their ids through graphql endpoints
并尝试了这段代码
{
repository(name: "reponame", owner: "ownername") {
issue1: issue(number: 2) {
title
createdAt
}
issue2: issue(number: 3) {
title
createdAt
}
issue3: issue(number: 10) {
title
createdAt
}
}
}
有了这个,我可以取回标题,但我也试图获得该问题的所有 cmets。我尝试在上面的代码中添加comments,但没有成功。
我只想修改上面的代码。
提前致谢!
【问题讨论】:
标签: github graphql github-api github-graphql