mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-30 09:49:04 +00:00
Handle event ids greater than int32.maxvalue (#1940)
Fixes https://github.com/octokit/octokit.net/issues/1939
This commit is contained in:
committed by
Ryan Gribble
parent
47c38bfd8e
commit
3147ddd694
@@ -11,7 +11,7 @@ namespace Octokit
|
||||
{
|
||||
public EventInfo() { }
|
||||
|
||||
public EventInfo(int id, string nodeId, string url, User actor, User assignee, Label label, EventInfoState @event, string commitId, DateTimeOffset createdAt)
|
||||
public EventInfo(long id, string nodeId, string url, User actor, User assignee, Label label, EventInfoState @event, string commitId, DateTimeOffset createdAt)
|
||||
{
|
||||
Id = id;
|
||||
NodeId = nodeId;
|
||||
@@ -27,7 +27,7 @@ namespace Octokit
|
||||
/// <summary>
|
||||
/// The id of the issue/pull request event.
|
||||
/// </summary>
|
||||
public int Id { get; protected set; }
|
||||
public long Id { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// GraphQL Node Id
|
||||
|
||||
Reference in New Issue
Block a user