Skip to content

Commit 95224ef

Browse files
refactor!: Rename EditComment to UpdateComment on PullRequestsService, split review comment request bodies, and pass by value (#4493)
BREAKING CHANGE: `PullRequestsService.CreateComment` now takes `CreatePullRequestCommentRequest` by value; `PullRequestsService.EditComment` is now `UpdateComment` and takes `UpdatePullRequestCommentRequest` by value.
1 parent c48dbf5 commit 95224ef

6 files changed

Lines changed: 355 additions & 22 deletions

File tree

.golangci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ linters:
232232
- ProtectionRequest
233233
- PublishCodespaceOptions
234234
- PullRequestBranchUpdateOptions
235-
- PullRequestComment
236235
- PullRequestReviewRequest
237236
- PullRequestReviewsEnforcementUpdate
238237
- Repository

github/github-accessors.go

Lines changed: 136 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

Lines changed: 163 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-stringify_test.go

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)