Skip to content

Commit

Permalink
Revert "Add CommitID, InReplyTo, and SubjectType to DraftReviewCommen…
Browse files Browse the repository at this point in the history
…t" (#3218)

Fixes: #3219.
  • Loading branch information
matt-simons authored Jul 25, 2024
1 parent 2cdb0ea commit 020ef00
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 72 deletions.
24 changes: 0 additions & 24 deletions github/github-accessors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 0 additions & 30 deletions github/github-accessors_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 9 additions & 12 deletions github/github-stringify_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions github/pulls_reviews.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,9 @@ func (p PullRequestReview) String() string {

// DraftReviewComment represents a comment part of the review.
type DraftReviewComment struct {
Path *string `json:"path,omitempty"`
Position *int `json:"position,omitempty"`
Body *string `json:"body,omitempty"`
CommitID *string `json:"commit_id,omitempty"`
InReplyTo *int64 `json:"in_reply_to,omitempty"`
SubjectType *string `json:"subject_type,omitempty"`
Path *string `json:"path,omitempty"`
Position *int `json:"position,omitempty"`
Body *string `json:"body,omitempty"`

// The new comfort-fade-preview fields
StartSide *string `json:"start_side,omitempty"`
Expand Down

0 comments on commit 020ef00

Please sign in to comment.