mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-20 14:15:12 +00:00
[BREAKING CHANGES]: int to long Ids for PreReceiveHook, Deployment Environments, Repository, Org Team, Repo Invitations, Public Key, Project Cards, Organization Invitation, Migrations, GpgKey, Deployment, Authorizations, Accounts / Profiles, Codespace / Workspaces (#2941)
* Fixes ids for Releases, Collaborators, and Contributors * updates the interface for releases * update the obverable release client * updates ids from int to long based on GH database schema * converts a test condition to use the proper type * updates generated paging and observable classes
This commit is contained in:
@@ -91,7 +91,7 @@ namespace Octokit.Reactive
|
||||
/// See the <a href="https://developer.github.com/v3/repos/projects/#get-a-project-card">API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
/// <param name="id">The id of the card</param>
|
||||
public IObservable<ProjectCard> Get(int id)
|
||||
public IObservable<ProjectCard> Get(long id)
|
||||
{
|
||||
return _client.Get(id).ToObservable();
|
||||
}
|
||||
@@ -119,7 +119,7 @@ namespace Octokit.Reactive
|
||||
/// </remarks>
|
||||
/// <param name="id">The id of the card</param>
|
||||
/// <param name="projectCardUpdate">New values to update the card with</param>
|
||||
public IObservable<ProjectCard> Update(int id, ProjectCardUpdate projectCardUpdate)
|
||||
public IObservable<ProjectCard> Update(long id, ProjectCardUpdate projectCardUpdate)
|
||||
{
|
||||
Ensure.ArgumentNotNull(projectCardUpdate, nameof(projectCardUpdate));
|
||||
|
||||
@@ -133,7 +133,7 @@ namespace Octokit.Reactive
|
||||
/// See the <a href="https://developer.github.com/v3/repos/projects/#delete-a-project-card">API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
/// <param name="id">The id of the card</param>
|
||||
public IObservable<bool> Delete(int id)
|
||||
public IObservable<bool> Delete(long id)
|
||||
{
|
||||
return _client.Delete(id).ToObservable();
|
||||
}
|
||||
@@ -143,10 +143,10 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://developer.github.com/v3/repos/projects/#move-a-project-card">API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
/// </remarks>
|
||||
/// <param name="id">The id of the card</param>
|
||||
/// <param name="position">The position to move the card</param>
|
||||
public IObservable<bool> Move(int id, ProjectCardMove position)
|
||||
public IObservable<bool> Move(long id, ProjectCardMove position)
|
||||
{
|
||||
Ensure.ArgumentNotNull(position, nameof(position));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user