This repository was archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Nest review comments under reviews. #1613
Closed
Closed
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
6d8068d
Nest review comments under reviews.
grokys 376c56e
Updated GraphQL and remove attempts at paging.
grokys dc1f6a2
Fill in some missing bits of info.
grokys 106bc34
Merge branch 'master' into refactor/nest-review-comments
grokys 48ca7c7
Updated Octokit.GraphQL package.
grokys 0c62065
Merge branch 'master' into refactor/nest-review-comments
StanleyGoldman 67c088f
Fix misspelling.
grokys c435556
Merge branch 'master' into refactor/nest-review-comments
jcansdale 2f3ec54
Use Array.Empty.
grokys 5803874
Merge branch 'master' into refactor/nest-review-comments
grokys 8e458ed
Merge branch 'master' into refactor/nest-review-comments
grokys File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <packages> | ||
| <package id="Newtonsoft.Json" version="10.0.3" targetFramework="net461" /> | ||
| <package id="Octokit.GraphQL" version="0.0.2-alpha" targetFramework="net461" /> | ||
| <package id="Octokit.GraphQL" version="0.0.3-alpha" targetFramework="net461" /> | ||
| <package id="Serilog" version="2.5.0" targetFramework="net461" /> | ||
| </packages> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,29 @@ | ||
| using System; | ||
| using System.Collections.Generic; | ||
| using GitHub.Extensions; | ||
|
|
||
| namespace GitHub.Models | ||
| { | ||
| public class PullRequestReviewModel : IPullRequestReviewModel | ||
| { | ||
| IReadOnlyList<IPullRequestReviewCommentModel> comments; | ||
|
|
||
| public long Id { get; set; } | ||
| public string NodeId { get; set; } | ||
| public IAccount User { get; set; } | ||
| public string Body { get; set; } | ||
| public PullRequestReviewState State { get; set; } | ||
| public string CommitId { get; set; } | ||
| public DateTimeOffset? SubmittedAt { get; set; } | ||
|
|
||
| public IReadOnlyList<IPullRequestReviewCommentModel> Comments | ||
| { | ||
| get { return comments ?? Array.Empty<IPullRequestReviewCommentModel>(); } | ||
| set | ||
| { | ||
| Guard.ArgumentNotNull(value, nameof(value)); | ||
| comments = value; | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you remove that?