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:
@@ -63,7 +63,7 @@ namespace Octokit.Reactive
|
||||
/// <param name="id">The Id of the SSH key</param>
|
||||
/// <returns>View extended details for a single public key.</returns>
|
||||
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")]
|
||||
IObservable<PublicKey> Get(int id);
|
||||
IObservable<PublicKey> Get(long id);
|
||||
|
||||
/// <summary>
|
||||
/// Create a public key <see cref="NewPublicKey"/>.
|
||||
@@ -83,6 +83,6 @@ namespace Octokit.Reactive
|
||||
/// </remarks>
|
||||
/// <param name="id">The id of the key to delete</param>
|
||||
/// <returns>Removes a public key.</returns>
|
||||
IObservable<Unit> Delete(int id);
|
||||
IObservable<Unit> Delete(long id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user