Skip to content

Commit

Permalink
add Issue.Draft
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyduquettesc committed Nov 23, 2023
1 parent a5f292c commit 9e24551
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
8 changes: 8 additions & 0 deletions github/github-accessors.go

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

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

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

3 changes: 2 additions & 1 deletion github/github-stringify_test.go

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

1 change: 1 addition & 0 deletions github/issues.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type Issue struct {
Reactions *Reactions `json:"reactions,omitempty"`
Assignees []*User `json:"assignees,omitempty"`
NodeID *string `json:"node_id,omitempty"`
Draft *bool `json:"draft,omitempty"`

// TextMatches is only populated from search results that request text matches
// See: search.go and https://docs.github.com/rest/search/#text-match-metadata
Expand Down

0 comments on commit 9e24551

Please sign in to comment.