Open Apolloluy opened 2 months ago
Since this seems to repro using 10.0.0, it must be separate from https://github.com/octokit/octokit.net/issues/2889, which was fixed with https://github.com/octokit/octokit.net/pull/2890.
Upgrading the octokit
package version to 11.0.1
fixed the issue for me. https://www.nuget.org/packages/Octokit/11.0.1
I can still repro this with 11.0.1 for deployment environments. I have one with an ID of 2296494046
which overflows the Id
property as it's still an int
:
I would do a PR to fix it, but fixing it properly is a lottttttttt of breaking changes.
What happened?
Running
Returns
System.OverflowException: 'Value was either too large or too small for an Int32.'
When attempting to parse the Github.id field in the response.Versions
Octokit.nupkg 10.0.0 (.net)
Relevant log output
Code of Conduct