diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index d2dac3732cb1..264530806845 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -641,9 +641,10 @@ input AddPullRequestReviewThreadInput { clientMutationId: String """ - The line of the blob to which the thread refers. The end of the line range for multi-line comments. + The line of the blob to which the thread refers, required for line-level + threads. The end of the line range for multi-line comments. """ - line: Int! + line: Int """ Path to the file being commented on. diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index 80952ddac1c7..aec481e25cb6 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -808,9 +808,10 @@ input AddPullRequestReviewThreadInput { clientMutationId: String """ - The line of the blob to which the thread refers. The end of the line range for multi-line comments. + The line of the blob to which the thread refers, required for line-level + threads. The end of the line range for multi-line comments. """ - line: Int! + line: Int """ Path to the file being commented on. diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index 80952ddac1c7..aec481e25cb6 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -808,9 +808,10 @@ input AddPullRequestReviewThreadInput { clientMutationId: String """ - The line of the blob to which the thread refers. The end of the line range for multi-line comments. + The line of the blob to which the thread refers, required for line-level + threads. The end of the line range for multi-line comments. """ - line: Int! + line: Int """ Path to the file being commented on. diff --git a/src/graphql/data/dotcom/changelog.json b/src/graphql/data/dotcom/changelog.json index 524f9a474111..0402d4b2d920 100644 --- a/src/graphql/data/dotcom/changelog.json +++ b/src/graphql/data/dotcom/changelog.json @@ -1,4 +1,17 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "
Input field AddPullRequestReviewThreadInput.line
changed type from Int!
to Int
The line of the blob to which the thread refers. The end of the line range for multi-line comments.
", - "type": "Int!", + "description": "The line of the blob to which the thread refers, required for line-level\nthreads. The end of the line range for multi-line comments.
", + "type": "Int", "id": "int", "kind": "scalars", "href": "/graphql/reference/scalars#int" diff --git a/src/graphql/data/ghae/schema.json b/src/graphql/data/ghae/schema.json index 2481f7529f6c..87e000832dc6 100644 --- a/src/graphql/data/ghae/schema.json +++ b/src/graphql/data/ghae/schema.json @@ -68934,8 +68934,8 @@ }, { "name": "line", - "description": "The line of the blob to which the thread refers. The end of the line range for multi-line comments.
", - "type": "Int!", + "description": "The line of the blob to which the thread refers, required for line-level\nthreads. The end of the line range for multi-line comments.
", + "type": "Int", "id": "int", "kind": "scalars", "href": "/graphql/reference/scalars#int" diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index da46f45596ec..b75c2dd9f38b 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -83846,8 +83846,8 @@ }, { "name": "line", - "description": "The line of the blob to which the thread refers. The end of the line range for multi-line comments.
", - "type": "Int!", + "description": "The line of the blob to which the thread refers, required for line-level\nthreads. The end of the line range for multi-line comments.
", + "type": "Int", "id": "int", "kind": "scalars", "href": "/graphql/reference/scalars#int"