mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-08 04:40:54 +00:00
Add Pull Request Review Request API. (#1588)
* Add Pull Request Review Request API. * Add Reactive Pull Request Review Request API. * Add PullRequestReviewRequestClient tests. * Add ObservablePullRequestReviewRequestClient tests. * Fix sub-client property naming. * Remove redundant model and update PullRequest model. * Add repositoryId based methods and missing Observable documentation. * Add missing parameter to PullRequest ctor. * Add integration tests for PullRequestReviewRequest. * Upgrade PullRequestReviewRequest integration tests. * Add integration tests for repositoryId methods and fix url bug. * Add missing unit tests and fix PR issues. * Add pagination support for PullRequestReviewRequst.GetAll and tests for it. * Revert changes on `PullRequestReviewCommentsClientTests.cs` * Small upgrades - remove unused using and compress property to expression body. * Revert use of expression body in property. * Add pagination tests for PullRequestReviewRequest.GetAll. * Change pagination tests to use 2 users. * Correct class/file name * Reword the integration test names for consistency Move the plumbing to create reviews into CreateTheWorld to clean up the actual tests * Fix DebuggerDisplay of requested reviewers * fix reviewRequestToCreate parameter to be consistent
This commit is contained in:
committed by
Ryan Gribble
parent
13593676d5
commit
97ae3cb3de
@@ -16,6 +16,7 @@ namespace Octokit
|
||||
public PullRequestsClient(IApiConnection apiConnection) : base(apiConnection)
|
||||
{
|
||||
ReviewComment = new PullRequestReviewCommentsClient(apiConnection);
|
||||
ReviewRequest = new PullRequestReviewRequestsClient(apiConnection);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -29,6 +30,11 @@ namespace Octokit
|
||||
/// </summary>
|
||||
public IPullRequestReviewCommentsClient ReviewComment { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Client for managing review requests.
|
||||
/// </summary>
|
||||
public IPullRequestReviewRequestsClient ReviewRequest { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Get a pull request by number.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user