Skip to content

Commit 020ef00

Browse files
authored
Revert "Add CommitID, InReplyTo, and SubjectType to DraftReviewComment" (#3218)
Fixes: #3219.
1 parent 2cdb0ea commit 020ef00

File tree

4 files changed

+12
-72
lines changed

4 files changed

+12
-72
lines changed

github/github-accessors.go

Lines changed: 0 additions & 24 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: 0 additions & 30 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: 9 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/pulls_reviews.go

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,9 @@ func (p PullRequestReview) String() string {
3535

3636
// DraftReviewComment represents a comment part of the review.
3737
type DraftReviewComment struct {
38-
Path *string `json:"path,omitempty"`
39-
Position *int `json:"position,omitempty"`
40-
Body *string `json:"body,omitempty"`
41-
CommitID *string `json:"commit_id,omitempty"`
42-
InReplyTo *int64 `json:"in_reply_to,omitempty"`
43-
SubjectType *string `json:"subject_type,omitempty"`
38+
Path *string `json:"path,omitempty"`
39+
Position *int `json:"position,omitempty"`
40+
Body *string `json:"body,omitempty"`
4441

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

0 commit comments

Comments
 (0)