mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-20 06:05: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:
@@ -59,7 +59,7 @@ namespace Octokit.Reactive
|
||||
/// </remarks>
|
||||
/// <param name="id">The id of the card</param>
|
||||
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")]
|
||||
IObservable<ProjectCard> Get(int id);
|
||||
IObservable<ProjectCard> Get(long id);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a card.
|
||||
@@ -79,7 +79,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>
|
||||
IObservable<ProjectCard> Update(int id, ProjectCardUpdate projectCardUpdate);
|
||||
IObservable<ProjectCard> Update(long id, ProjectCardUpdate projectCardUpdate);
|
||||
|
||||
/// <summary>
|
||||
/// Deletes a card.
|
||||
@@ -88,7 +88,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>
|
||||
IObservable<bool> Delete(int id);
|
||||
IObservable<bool> Delete(long id);
|
||||
|
||||
/// <summary>
|
||||
/// Moves a card.
|
||||
@@ -98,6 +98,6 @@ namespace Octokit.Reactive
|
||||
/// </remarks>
|
||||
/// <param name="id">The id of the card</param>
|
||||
/// <param name="position">The position to move the card</param>
|
||||
IObservable<bool> Move(int id, ProjectCardMove position);
|
||||
IObservable<bool> Move(long id, ProjectCardMove position);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user