Skip to content

Commit

Permalink
Add post-processing for int overflow bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kfcampbell committed Feb 27, 2024
1 parent 43411a9 commit bd42666
Show file tree
Hide file tree
Showing 65 changed files with 75 additions and 65 deletions.
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/AddedToProjectEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal AddedToProjectEvent(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the AddedToProjectEvent object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal App(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The description of the app.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/BaseRefChangedEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal BaseRefChangedEvent(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the BaseRefChangedEvent object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ internal Bot(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the Bot object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/BranchProtectionRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ internal BranchProtectionRule(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// Will new commits pushed to matching branches dismiss pull request review approvals.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/CheckAnnotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal CheckAnnotation(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The position of this annotation.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/CheckRun.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ internal CheckRun(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The corresponding deployment for this job, if any
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/CheckSuite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ internal CheckSuite(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the CheckSuite object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/CommentDeletedEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal CommentDeletedEvent(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The user who authored the deleted comment.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/CommitComment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ internal CommitComment(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The actor who edited the comment.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ConvertedNoteToIssueEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal ConvertedNoteToIssueEvent(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the ConvertedNoteToIssueEvent object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/DeployedEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal DeployedEvent(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The deployment associated with the 'deployed' event.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/Deployment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal Deployment(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The deployment description.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/DeploymentProtectionRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal DeploymentProtectionRule(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// Whether deployments to this environment can be approved by the user who created the deployment.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/DeploymentReview.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal DeploymentReview(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The environments approved or rejected
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/Discussion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ internal Discussion(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The actor who edited the comment.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/DiscussionComment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ internal DiscussionComment(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The time when this replied-to comment was deleted
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/Enterprise.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ internal Enterprise(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The description of the enterprise.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/Environment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal Environment(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the Environment object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/GistComment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ internal GistComment(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The actor who edited the comment.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/IssueComment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ internal IssueComment(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The actor who edited the comment.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/Mannequin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ internal Mannequin(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The mannequin's email on the source instance.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/MentionedEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal MentionedEvent(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the MentionedEvent object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/MovedColumnsInProjectEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal MovedColumnsInProjectEvent(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the MovedColumnsInProjectEvent object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/Organization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ internal Organization(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The organization's public profile description.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/PinnedDiscussion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal PinnedDiscussion(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The discussion that was pinned.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/PinnedIssue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal PinnedIssue(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// Identifies the primary key from the database as a BigInt.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/Project.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ internal Project(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the Project object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ProjectCard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ internal ProjectCard(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the ProjectCard object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ProjectColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal ProjectColumn(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the ProjectColumn object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ProjectV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal ProjectV2(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// A field of the project
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ProjectV2Field.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal ProjectV2Field(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the ProjectV2Field object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ProjectV2FieldCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ internal StubIProjectV2FieldCommon(Expression expression) : base(expression)

public ProjectV2FieldType DataType { get; }

public int? DatabaseId { get; }
public long? DatabaseId { get; }

public ID Id { get; }

Expand Down
7 changes: 6 additions & 1 deletion Octokit.GraphQL/Model/ProjectV2Item.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal ProjectV2Item(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The field value of the first project field which matches the 'name' argument that is set on the item.
Expand All @@ -51,6 +51,11 @@ internal ProjectV2Item(Expression expression) : base(expression)
/// <param name="orderBy">Ordering options for project v2 item field values returned from the connection</param>
public ProjectV2ItemFieldValueConnection FieldValues(Arg<int>? first = null, Arg<string>? after = null, Arg<int>? last = null, Arg<string>? before = null, Arg<ProjectV2ItemFieldValueOrder>? orderBy = null) => this.CreateMethodCall(x => x.FieldValues(first, after, last, before, orderBy), Octokit.GraphQL.Model.ProjectV2ItemFieldValueConnection.Create);

/// <summary>
/// Identifies the primary key from the database as a BigInt.
/// </summary>
public string FullDatabaseId { get; }

/// <summary>
/// The Node ID of the ProjectV2Item object
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ProjectV2ItemFieldDateValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal ProjectV2ItemFieldDateValue(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// Date value for the field
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ProjectV2ItemFieldIterationValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal ProjectV2ItemFieldIterationValue(Expression expression) : base(expressi
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The duration of the iteration in days.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ProjectV2ItemFieldNumberValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal ProjectV2ItemFieldNumberValue(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The project field that contains this value.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal ProjectV2ItemFieldSingleSelectValue(Expression expression) : base(expre
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// A plain-text description of the selected single-select option, such as what the option means.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ProjectV2ItemFieldTextValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal ProjectV2ItemFieldTextValue(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The project field that contains this value.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ProjectV2ItemFieldValueCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ internal StubIProjectV2ItemFieldValueCommon(Expression expression) : base(expres

public IActor Creator => this.CreateProperty(x => x.Creator, Octokit.GraphQL.Model.Internal.StubIActor.Create);

public int? DatabaseId { get; }
public long? DatabaseId { get; }

public ProjectV2FieldConfiguration Field => this.CreateProperty(x => x.Field, Octokit.GraphQL.Model.ProjectV2FieldConfiguration.Create);

Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ProjectV2IterationField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal ProjectV2IterationField(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the ProjectV2IterationField object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ProjectV2SingleSelectField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal ProjectV2SingleSelectField(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The Node ID of the ProjectV2SingleSelectField object
Expand Down
2 changes: 1 addition & 1 deletion Octokit.GraphQL/Model/ProjectV2View.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal ProjectV2View(Expression expression) : base(expression)
/// <summary>
/// Identifies the primary key from the database.
/// </summary>
public int? DatabaseId { get; }
public long? DatabaseId { get; }

/// <summary>
/// The view's visible fields.
Expand Down

0 comments on commit bd42666

Please sign in to comment.