Add author information in pr list JSON output
This commit is contained in:
parent
583af3e54c
commit
86566d8187
4 changed files with 20 additions and 5 deletions
|
|
@ -200,7 +200,7 @@ func PullRequestGraphQL(fields []string) string {
|
|||
for _, field := range fields {
|
||||
switch field {
|
||||
case "author":
|
||||
q = append(q, `author{login}`)
|
||||
q = append(q, `author{login,...on User{id,name}}`)
|
||||
case "mergedBy":
|
||||
q = append(q, `mergedBy{login}`)
|
||||
case "headRepositoryOwner":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue