[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:
Nick Floyd
2024-06-26 10:57:30 -05:00
committed by GitHub
parent 16cea259dd
commit 6565a07974
84 changed files with 1387 additions and 1282 deletions

View File

@@ -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);
}
}