Skip to content

Commit 45d83f4

Browse files
GraphQL schema update (#62316)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
1 parent 21605c4 commit 45d83f4

7 files changed

Lines changed: 166 additions & 0 deletions

File tree

src/graphql/data/fpt/changelog.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Field <code>viewerCanAssign</code> was added to interface <code>Assignable</code></p>",
8+
"<p>Field <code>viewerCanAssign</code> was added to object type <code>Issue</code></p>",
9+
"<p>Field <code>viewerCanSetMilestone</code> was added to object type <code>Issue</code></p>",
10+
"<p>Field <code>viewerCanType</code> was added to object type <code>Issue</code></p>",
11+
"<p>Field <code>viewerCanUpdateMetadata</code> was added to object type <code>Issue</code></p>",
12+
"<p>Field <code>viewerCanAssign</code> was added to object type <code>PullRequest</code></p>"
13+
]
14+
}
15+
],
16+
"previewChanges": [],
17+
"upcomingChanges": [],
18+
"date": "2026-07-16"
19+
},
220
{
321
"schemaChanges": [
422
{

src/graphql/data/fpt/schema-issues.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3897,6 +3897,13 @@
38973897
}
38983898
]
38993899
},
3900+
{
3901+
"name": "viewerCanAssign",
3902+
"description": "<p>Indicates if the viewer can edit assignees for this object.</p>",
3903+
"type": "Boolean!",
3904+
"id": "boolean",
3905+
"href": "/graphql/reference/other#scalar-boolean"
3906+
},
39003907
{
39013908
"name": "viewerCanClose",
39023909
"description": "<p>Indicates if the object can be closed by the viewer.</p>",
@@ -3939,20 +3946,41 @@
39393946
"id": "boolean",
39403947
"href": "/graphql/reference/other#scalar-boolean"
39413948
},
3949+
{
3950+
"name": "viewerCanSetMilestone",
3951+
"description": "<p>Indicates if the viewer can edit the milestone of the issue.</p>",
3952+
"type": "Boolean!",
3953+
"id": "boolean",
3954+
"href": "/graphql/reference/other#scalar-boolean"
3955+
},
39423956
{
39433957
"name": "viewerCanSubscribe",
39443958
"description": "<p>Check if the viewer is able to change their subscription status for the repository.</p>",
39453959
"type": "Boolean!",
39463960
"id": "boolean",
39473961
"href": "/graphql/reference/other#scalar-boolean"
39483962
},
3963+
{
3964+
"name": "viewerCanType",
3965+
"description": "<p>Check if the current viewer can set the issue type of this issue.</p>",
3966+
"type": "Boolean",
3967+
"id": "boolean",
3968+
"href": "/graphql/reference/other#scalar-boolean"
3969+
},
39493970
{
39503971
"name": "viewerCanUpdate",
39513972
"description": "<p>Check if the current viewer can update this object.</p>",
39523973
"type": "Boolean!",
39533974
"id": "boolean",
39543975
"href": "/graphql/reference/other#scalar-boolean"
39553976
},
3977+
{
3978+
"name": "viewerCanUpdateMetadata",
3979+
"description": "<p>Check if the viewer has triage-level (or higher) access to update this issue's\nmetadata. Note: this reflects the viewer's base repository role and does not\naccount for individual fine-grained permissions granted via custom repository roles.</p>",
3980+
"type": "Boolean",
3981+
"id": "boolean",
3982+
"href": "/graphql/reference/other#scalar-boolean"
3983+
},
39563984
{
39573985
"name": "viewerCannotUpdateReasons",
39583986
"description": "<p>Reasons why the current viewer can not update this comment.</p>",
@@ -8654,6 +8682,13 @@
86548682
}
86558683
}
86568684
]
8685+
},
8686+
{
8687+
"name": "viewerCanAssign",
8688+
"description": "<p>Indicates if the viewer can edit assignees for this object.</p>",
8689+
"type": "Boolean!",
8690+
"id": "boolean",
8691+
"href": "/graphql/reference/other#scalar-boolean"
86578692
}
86588693
],
86598694
"category": "issues"

src/graphql/data/fpt/schema-pulls.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4383,6 +4383,13 @@
43834383
"id": "boolean",
43844384
"href": "/graphql/reference/other#scalar-boolean"
43854385
},
4386+
{
4387+
"name": "viewerCanAssign",
4388+
"description": "<p>Indicates if the viewer can edit assignees for this object.</p>",
4389+
"type": "Boolean!",
4390+
"id": "boolean",
4391+
"href": "/graphql/reference/other#scalar-boolean"
4392+
},
43864393
{
43874394
"name": "viewerCanClose",
43884395
"description": "<p>Indicates if the object can be closed by the viewer.</p>",

src/graphql/data/fpt/schema.docs.graphql

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1898,6 +1898,11 @@ interface Assignable @docsCategory(name: "issues") {
18981898
"""
18991899
query: String
19001900
): AssigneeConnection!
1901+
1902+
"""
1903+
Indicates if the viewer can edit assignees for this object.
1904+
"""
1905+
viewerCanAssign: Boolean!
19011906
}
19021907

19031908
"""
@@ -20606,6 +20611,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
2060620611
last: Int
2060720612
): UserContentEditConnection
2060820613

20614+
"""
20615+
Indicates if the viewer can edit assignees for this object.
20616+
"""
20617+
viewerCanAssign: Boolean!
20618+
2060920619
"""
2061020620
Indicates if the object can be closed by the viewer.
2061120621
"""
@@ -20636,16 +20646,33 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
2063620646
"""
2063720647
viewerCanSetFields: Boolean
2063820648

20649+
"""
20650+
Indicates if the viewer can edit the milestone of the issue.
20651+
"""
20652+
viewerCanSetMilestone: Boolean!
20653+
2063920654
"""
2064020655
Check if the viewer is able to change their subscription status for the repository.
2064120656
"""
2064220657
viewerCanSubscribe: Boolean!
2064320658

20659+
"""
20660+
Check if the current viewer can set the issue type of this issue.
20661+
"""
20662+
viewerCanType: Boolean
20663+
2064420664
"""
2064520665
Check if the current viewer can update this object.
2064620666
"""
2064720667
viewerCanUpdate: Boolean!
2064820668

20669+
"""
20670+
Check if the viewer has triage-level (or higher) access to update this issue's
20671+
metadata. Note: this reflects the viewer's base repository role and does not
20672+
account for individual fine-grained permissions granted via custom repository roles.
20673+
"""
20674+
viewerCanUpdateMetadata: Boolean
20675+
2064920676
"""
2065020677
Reasons why the current viewer can not update this comment.
2065120678
"""
@@ -43978,6 +44005,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
4397844005
"""
4397944006
viewerCanApplySuggestion: Boolean!
4398044007

44008+
"""
44009+
Indicates if the viewer can edit assignees for this object.
44010+
"""
44011+
viewerCanAssign: Boolean!
44012+
4398144013
"""
4398244014
Indicates if the object can be closed by the viewer.
4398344015
"""

src/graphql/data/ghec/schema-issues.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3897,6 +3897,13 @@
38973897
}
38983898
]
38993899
},
3900+
{
3901+
"name": "viewerCanAssign",
3902+
"description": "<p>Indicates if the viewer can edit assignees for this object.</p>",
3903+
"type": "Boolean!",
3904+
"id": "boolean",
3905+
"href": "/graphql/reference/other#scalar-boolean"
3906+
},
39003907
{
39013908
"name": "viewerCanClose",
39023909
"description": "<p>Indicates if the object can be closed by the viewer.</p>",
@@ -3939,20 +3946,41 @@
39393946
"id": "boolean",
39403947
"href": "/graphql/reference/other#scalar-boolean"
39413948
},
3949+
{
3950+
"name": "viewerCanSetMilestone",
3951+
"description": "<p>Indicates if the viewer can edit the milestone of the issue.</p>",
3952+
"type": "Boolean!",
3953+
"id": "boolean",
3954+
"href": "/graphql/reference/other#scalar-boolean"
3955+
},
39423956
{
39433957
"name": "viewerCanSubscribe",
39443958
"description": "<p>Check if the viewer is able to change their subscription status for the repository.</p>",
39453959
"type": "Boolean!",
39463960
"id": "boolean",
39473961
"href": "/graphql/reference/other#scalar-boolean"
39483962
},
3963+
{
3964+
"name": "viewerCanType",
3965+
"description": "<p>Check if the current viewer can set the issue type of this issue.</p>",
3966+
"type": "Boolean",
3967+
"id": "boolean",
3968+
"href": "/graphql/reference/other#scalar-boolean"
3969+
},
39493970
{
39503971
"name": "viewerCanUpdate",
39513972
"description": "<p>Check if the current viewer can update this object.</p>",
39523973
"type": "Boolean!",
39533974
"id": "boolean",
39543975
"href": "/graphql/reference/other#scalar-boolean"
39553976
},
3977+
{
3978+
"name": "viewerCanUpdateMetadata",
3979+
"description": "<p>Check if the viewer has triage-level (or higher) access to update this issue's\nmetadata. Note: this reflects the viewer's base repository role and does not\naccount for individual fine-grained permissions granted via custom repository roles.</p>",
3980+
"type": "Boolean",
3981+
"id": "boolean",
3982+
"href": "/graphql/reference/other#scalar-boolean"
3983+
},
39563984
{
39573985
"name": "viewerCannotUpdateReasons",
39583986
"description": "<p>Reasons why the current viewer can not update this comment.</p>",
@@ -8654,6 +8682,13 @@
86548682
}
86558683
}
86568684
]
8685+
},
8686+
{
8687+
"name": "viewerCanAssign",
8688+
"description": "<p>Indicates if the viewer can edit assignees for this object.</p>",
8689+
"type": "Boolean!",
8690+
"id": "boolean",
8691+
"href": "/graphql/reference/other#scalar-boolean"
86578692
}
86588693
],
86598694
"category": "issues"

src/graphql/data/ghec/schema-pulls.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4383,6 +4383,13 @@
43834383
"id": "boolean",
43844384
"href": "/graphql/reference/other#scalar-boolean"
43854385
},
4386+
{
4387+
"name": "viewerCanAssign",
4388+
"description": "<p>Indicates if the viewer can edit assignees for this object.</p>",
4389+
"type": "Boolean!",
4390+
"id": "boolean",
4391+
"href": "/graphql/reference/other#scalar-boolean"
4392+
},
43864393
{
43874394
"name": "viewerCanClose",
43884395
"description": "<p>Indicates if the object can be closed by the viewer.</p>",

src/graphql/data/ghec/schema.docs.graphql

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1898,6 +1898,11 @@ interface Assignable @docsCategory(name: "issues") {
18981898
"""
18991899
query: String
19001900
): AssigneeConnection!
1901+
1902+
"""
1903+
Indicates if the viewer can edit assignees for this object.
1904+
"""
1905+
viewerCanAssign: Boolean!
19011906
}
19021907

19031908
"""
@@ -20606,6 +20611,11 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
2060620611
last: Int
2060720612
): UserContentEditConnection
2060820613

20614+
"""
20615+
Indicates if the viewer can edit assignees for this object.
20616+
"""
20617+
viewerCanAssign: Boolean!
20618+
2060920619
"""
2061020620
Indicates if the object can be closed by the viewer.
2061120621
"""
@@ -20636,16 +20646,33 @@ type Issue implements Assignable & Closable & Comment & Deletable & Labelable &
2063620646
"""
2063720647
viewerCanSetFields: Boolean
2063820648

20649+
"""
20650+
Indicates if the viewer can edit the milestone of the issue.
20651+
"""
20652+
viewerCanSetMilestone: Boolean!
20653+
2063920654
"""
2064020655
Check if the viewer is able to change their subscription status for the repository.
2064120656
"""
2064220657
viewerCanSubscribe: Boolean!
2064320658

20659+
"""
20660+
Check if the current viewer can set the issue type of this issue.
20661+
"""
20662+
viewerCanType: Boolean
20663+
2064420664
"""
2064520665
Check if the current viewer can update this object.
2064620666
"""
2064720667
viewerCanUpdate: Boolean!
2064820668

20669+
"""
20670+
Check if the viewer has triage-level (or higher) access to update this issue's
20671+
metadata. Note: this reflects the viewer's base repository role and does not
20672+
account for individual fine-grained permissions granted via custom repository roles.
20673+
"""
20674+
viewerCanUpdateMetadata: Boolean
20675+
2064920676
"""
2065020677
Reasons why the current viewer can not update this comment.
2065120678
"""
@@ -43978,6 +44005,11 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
4397844005
"""
4397944006
viewerCanApplySuggestion: Boolean!
4398044007

44008+
"""
44009+
Indicates if the viewer can edit assignees for this object.
44010+
"""
44011+
viewerCanAssign: Boolean!
44012+
4398144013
"""
4398244014
Indicates if the object can be closed by the viewer.
4398344015
"""

0 commit comments

Comments
 (0)