Skip to content

Commit 9549a7a

Browse files
authored
refactor!: Split IssueRequest into CreateIssueRequest & UpdateIssueRequest and pass by value (#4396)
BREAKING CHANGE: `IssueService.Edit` is renamed to `IssueService.Update`.
1 parent f15206a commit 9549a7a

5 files changed

Lines changed: 450 additions & 220 deletions

File tree

.golangci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ linters:
232232
- InstallationTokenOptions
233233
- IssueComment
234234
- IssueImportRequest
235-
- IssueRequest
236235
- Key
237236
- Label
238237
- LockIssueOptions
@@ -420,8 +419,6 @@ linters:
420419
- IssueListByRepoOptions.Since # TODO: Issues
421420
- IssueListCommentsOptions.Direction
422421
- IssueListCommentsOptions.Sort
423-
- IssueRequest.Assignees # TODO: Issues
424-
- IssueRequest.Labels # TODO: Issues
425422
- License.Conditions # TODO: Licenses
426423
- License.Limitations # TODO: Licenses
427424
- License.Permissions # TODO: Licenses

github/github-accessors.go

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

0 commit comments

Comments
 (0)