diff --git a/Octokit.Tests.Integration/Clients/ProjectCardsClientTests.cs b/Octokit.Tests.Integration/Clients/ProjectCardsClientTests.cs index 8607eb068f..e9d5b2384a 100644 --- a/Octokit.Tests.Integration/Clients/ProjectCardsClientTests.cs +++ b/Octokit.Tests.Integration/Clients/ProjectCardsClientTests.cs @@ -453,7 +453,7 @@ private static async Task CreateArchivedCardHelper(IGitHubClient gi return result; } - private static async Task CreateIssueCardHelper(IGitHubClient githubClient, int issueId, int columnId) + private static async Task CreateIssueCardHelper(IGitHubClient githubClient, long issueId, int columnId) { var newCard = new NewProjectCard(issueId, ProjectCardContentType.Issue); var result = await githubClient.Repository.Project.Card.Create(columnId, newCard); diff --git a/Octokit.Tests.Integration/Reactive/ObservableProjectCardsClientTests.cs b/Octokit.Tests.Integration/Reactive/ObservableProjectCardsClientTests.cs index 7eeb51957e..05369d95e0 100644 --- a/Octokit.Tests.Integration/Reactive/ObservableProjectCardsClientTests.cs +++ b/Octokit.Tests.Integration/Reactive/ObservableProjectCardsClientTests.cs @@ -441,7 +441,7 @@ private static async Task CreateArchivedCardHelper(IObservableGitHu return result; } - private static async Task CreateIssueCardHelper(IObservableGitHubClient githubClient, int issueId, int columnId) + private static async Task CreateIssueCardHelper(IObservableGitHubClient githubClient, long issueId, int columnId) { var newCard = new NewProjectCard(issueId, ProjectCardContentType.Issue); var result = await githubClient.Repository.Project.Card.Create(columnId, newCard); diff --git a/Octokit/Models/Request/NewPullRequest.cs b/Octokit/Models/Request/NewPullRequest.cs index cdd5f7ecd0..b2b1ae7802 100644 --- a/Octokit/Models/Request/NewPullRequest.cs +++ b/Octokit/Models/Request/NewPullRequest.cs @@ -32,7 +32,7 @@ public NewPullRequest(string title, string head, string baseRef) /// The number of an existing issue to convert into a pull request. /// The branch (or git ref where your changes are implemented. In other words, the source branch/ref /// The base (or git ref) reference you want your changes pulled into. In other words, the target branch/ref - public NewPullRequest(int issueId, string head, string baseRef) + public NewPullRequest(long issueId, string head, string baseRef) { Ensure.ArgumentNotNullOrEmptyString(head, nameof(head)); Ensure.ArgumentNotNullOrEmptyString(baseRef, nameof(baseRef)); @@ -50,7 +50,7 @@ public NewPullRequest(int issueId, string head, string baseRef) /// /// The number of an existing issue to convert into a pull request (required if not provided). /// - public int? IssueId { get; private set; } + public long? IssueId { get; private set; } /// /// The branch (or git ref) you want your changes pulled into (required). diff --git a/Octokit/Models/Response/Issue.cs b/Octokit/Models/Response/Issue.cs index b18e99c931..b2fc9930be 100644 --- a/Octokit/Models/Response/Issue.cs +++ b/Octokit/Models/Response/Issue.cs @@ -12,7 +12,7 @@ public class Issue { public Issue() { } - public Issue(string url, string htmlUrl, string commentsUrl, string eventsUrl, int number, ItemState state, string title, string body, User closedBy, User user, IReadOnlyList