mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-01 18:35:35 +00:00
rework obsolete warnings to collect a few places previuosly missed and reword to direct users to the new equivalent branch protection methods
This commit is contained in:
@@ -81,7 +81,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="branch">The name of the branch</param>
|
||||
/// <param name="update">New values to update the branch with</param>
|
||||
[Obsolete("BranchProtection preview functionality in the GitHub API has had breaking changes. This existing implementation will cease to work when the preview period ends.")]
|
||||
[Obsolete("This existing implementation will cease to work when the Branch Protection API preview period ends. Please use other ObservableRepositoryBranchesClient methods instead.")]
|
||||
IObservable<Branch> Edit(string owner, string name, string branch, BranchUpdate update);
|
||||
|
||||
/// <summary>
|
||||
@@ -90,7 +90,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The Id of the repository</param>
|
||||
/// <param name="branch">The name of the branch</param>
|
||||
/// <param name="update">New values to update the branch with</param>
|
||||
[Obsolete("BranchProtection preview functionality in the GitHub API has had breaking changes. This existing implementation will cease to work when the preview period ends.")]
|
||||
[Obsolete("This existing implementation will cease to work when the Branch Protection API preview period ends. Please use other ObservableRepositoryBranchesClient methods instead.")]
|
||||
IObservable<Branch> Edit(int repositoryId, string branch, BranchUpdate update);
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user