"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "api/query_builder.go" between
gh-cli-1.11.0.tar.gz and gh-cli-1.12.0.tar.gz

About: GitHub CLI is GitHub’s official command line tool.

query_builder.go  (gh-cli-1.11.0):query_builder.go  (gh-cli-1.12.0)
skipping to change at line 219 skipping to change at line 219
case "reviews": case "reviews":
q = append(q, prReviews) q = append(q, prReviews)
case "files": case "files":
q = append(q, prFiles) q = append(q, prFiles)
case "commits": case "commits":
q = append(q, prCommits) q = append(q, prCommits)
case "lastCommit": // pseudo-field case "lastCommit": // pseudo-field
q = append(q, `commits(last:1){nodes{commit{oid}}}`) q = append(q, `commits(last:1){nodes{commit{oid}}}`)
case "commitsCount": // pseudo-field case "commitsCount": // pseudo-field
q = append(q, `commits{totalCount}`) q = append(q, `commits{totalCount}`)
case "requiresStrictStatusChecks": // pseudo-field
q = append(q, `baseRef{branchProtectionRule{requiresStric
tStatusChecks}}`)
case "statusCheckRollup": case "statusCheckRollup":
q = append(q, StatusCheckRollupGraphQL("")) q = append(q, StatusCheckRollupGraphQL(""))
default: default:
q = append(q, field) q = append(q, field)
} }
} }
return strings.Join(q, ",") return strings.Join(q, ",")
} }
var RepositoryFields = []string{ var RepositoryFields = []string{
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)