Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: {PullRequest,PullRequestReview,PullRequestReviewComment}#fullDatabaseId. Deprecation of {PullRequest,PullRequestReview,PullRequestReviewComment}#databaseId #896

Merged
merged 2 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17441,14 +17441,19 @@ export type PullRequest = Assignable & Closable & Comment & Labelable & Lockable
createdAt: Scalars['DateTime']['output'];
/** Check if this comment was created via an email reply. */
createdViaEmail: Scalars['Boolean']['output'];
/** Identifies the primary key from the database. */
/**
* Identifies the primary key from the database.
* @deprecated `databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2024-07-01 UTC.
*/
databaseId?: Maybe<Scalars['Int']['output']>;
/** The number of deletions in this pull request. */
deletions: Scalars['Int']['output'];
/** The actor who edited this pull request's body. */
editor?: Maybe<Bot | EnterpriseUserAccount | Mannequin | Organization | User>;
/** Lists the files changed within this pull request. */
files?: Maybe<PullRequestChangedFileConnection>;
/** Identifies the primary key from the database as a BigInt. */
fullDatabaseId?: Maybe<Scalars['BigInt']['output']>;
/** Identifies the head Ref associated with the pull request. */
headRef?: Maybe<Ref>;
/** Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted. */
Expand Down Expand Up @@ -18050,10 +18055,15 @@ export type PullRequestReview = Comment & Deletable & Minimizable & Node & React
createdAt: Scalars['DateTime']['output'];
/** Check if this comment was created via an email reply. */
createdViaEmail: Scalars['Boolean']['output'];
/** Identifies the primary key from the database. */
/**
* Identifies the primary key from the database.
* @deprecated `databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2024-07-01 UTC.
*/
databaseId?: Maybe<Scalars['Int']['output']>;
/** The actor who edited the comment. */
editor?: Maybe<Bot | EnterpriseUserAccount | Mannequin | Organization | User>;
/** Identifies the primary key from the database as a BigInt. */
fullDatabaseId?: Maybe<Scalars['BigInt']['output']>;
/** The Node ID of the PullRequestReview object */
id: Scalars['ID']['output'];
/** Check if this comment was edited and includes an edit with the creation data */
Expand Down Expand Up @@ -18163,14 +18173,19 @@ export type PullRequestReviewComment = Comment & Deletable & Minimizable & Node
createdAt: Scalars['DateTime']['output'];
/** Check if this comment was created via an email reply. */
createdViaEmail: Scalars['Boolean']['output'];
/** Identifies the primary key from the database. */
/**
* Identifies the primary key from the database.
* @deprecated `databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2024-07-01 UTC.
*/
databaseId?: Maybe<Scalars['Int']['output']>;
/** The diff hunk to which the comment applies. */
diffHunk: Scalars['String']['output'];
/** Identifies when the comment was created in a draft state. */
draftedAt: Scalars['DateTime']['output'];
/** The actor who edited the comment. */
editor?: Maybe<Bot | EnterpriseUserAccount | Mannequin | Organization | User>;
/** Identifies the primary key from the database as a BigInt. */
fullDatabaseId?: Maybe<Scalars['BigInt']['output']>;
/** The Node ID of the PullRequestReviewComment object */
id: Scalars['ID']['output'];
/** Check if this comment was edited and includes an edit with the creation data */
Expand Down
21 changes: 18 additions & 3 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -34332,7 +34332,7 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
"""
Identifies the primary key from the database.
"""
databaseId: Int
databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2024-07-01 UTC.")

"""
The number of deletions in this pull request.
Expand Down Expand Up @@ -34369,6 +34369,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
last: Int
): PullRequestChangedFileConnection

"""
Identifies the primary key from the database as a BigInt.
"""
fullDatabaseId: BigInt

"""
Identifies the head Ref associated with the pull request.
"""
Expand Down Expand Up @@ -35601,13 +35606,18 @@ type PullRequestReview implements Comment & Deletable & Minimizable & Node & Rea
"""
Identifies the primary key from the database.
"""
databaseId: Int
databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2024-07-01 UTC.")

"""
The actor who edited the comment.
"""
editor: Actor

"""
Identifies the primary key from the database as a BigInt.
"""
fullDatabaseId: BigInt

"""
The Node ID of the PullRequestReview object
"""
Expand Down Expand Up @@ -35843,7 +35853,7 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod
"""
Identifies the primary key from the database.
"""
databaseId: Int
databaseId: Int @deprecated(reason: "`databaseId` will be removed because it does not support 64-bit signed integer identifiers. Use `fullDatabaseId` instead. Removal on 2024-07-01 UTC.")

"""
The diff hunk to which the comment applies.
Expand All @@ -35860,6 +35870,11 @@ type PullRequestReviewComment implements Comment & Deletable & Minimizable & Nod
"""
editor: Actor

"""
Identifies the primary key from the database as a BigInt.
"""
fullDatabaseId: BigInt

"""
The Node ID of the PullRequestReviewComment object
"""
Expand Down