Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 4718774

Browse files
Adding comments explaining PullRequestId
1 parent 7c3869f commit 4718774

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/GitHub.Exports/Models/CommentModel.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ public class CommentModel
1818
public int DatabaseId { get; set; }
1919

2020
/// <summary>
21-
/// Gets the PullRequestId of the comment
21+
/// Gets the PullRequestId of the comment.
2222
/// </summary>
2323
public int PullRequestId { get; set; }
24+
// The GraphQL Api does not allow for deleting of pull request comments.
25+
// REST Api must be used, and PullRequestId is needed to reload the pull request.
26+
// This field should be removed with better GraphQL support.
2427

2528
/// <summary>
2629
/// Gets the author of the comment.

0 commit comments

Comments
 (0)