Skip to content

Commit 4aeb571

Browse files
committed
Merge branch 'main' into workflow-dispatch
2 parents ad3698f + 97ac7b9 commit 4aeb571

File tree

316 files changed

+2164
-53
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

316 files changed

+2164
-53
lines changed

Octokit.GraphQL.UnitTests/ExpressionRewiterTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void RepositoryOwner_Repository_Query()
5858
public void Repository_Select_Use_Fragment_Twice()
5959
{
6060
var fragment = new Fragment<Repository, string>("repositoryName", repository => repository.Name);
61-
61+
6262
var query = new Query()
6363
.Select(q => new
6464
{
@@ -129,7 +129,7 @@ public void Repository_Details_With_Viewer()
129129
{
130130
var query = new Query()
131131
.Select(x => x.RepositoryOwner("foo")
132-
.Repositories(30, null, null, null, null, null, null, null, null, null, null, null)
132+
.Repositories(30, null, null, null, null, null, null, null, null, null, null, null, null)
133133
.Edges
134134
.Select(y => y.Node)
135135
.Select(z => new
@@ -145,7 +145,7 @@ public void Repository_Details_With_Viewer()
145145
Expression<Func<JObject, IEnumerable<object>>> expected = data =>
146146
(IEnumerable<object>)Rewritten.Value.SelectList(
147147
data["data"],
148-
x =>
148+
x =>
149149
Rewritten.List.Select(
150150
Rewritten.List.Select(
151151
x["repositoryOwner"]["repositories"]["edges"],

Octokit.GraphQL.UnitTests/QueryBuilderTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void RepositoryOwner_Repositories_Query_Viewer()
120120
var expression = new Query()
121121
.Select(root => root
122122
.RepositoryOwner("foo")
123-
.Repositories(30, null, null, null, null, null, null, null, null, null, null, null)
123+
.Repositories(30, null, null, null, null, null, null, null, null, null, null, null, null)
124124
.Edges.Select(x => x.Node)
125125
.Select(x => new
126126
{
@@ -221,7 +221,7 @@ public void Repository_Details_With_Viewer()
221221

222222
var expression = new Query()
223223
.Select(x => x.RepositoryOwner("foo")
224-
.Repositories(30, null, null, null, null, null, null, null, null, null, null, null)
224+
.Repositories(30, null, null, null, null, null, null, null, null, null, null, null, null)
225225
.Edges
226226
.Select(y => y.Node)
227227
.Select(y => new

Octokit.GraphQL/Model/AcceptTopicSuggestionInput.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,17 @@ public class AcceptTopicSuggestionInput
1010
{
1111
/// <summary>
1212
/// The Node ID of the repository.
13+
/// **Upcoming Change on 2024-04-01 UTC**
14+
/// **Description:** `repositoryId` will be removed.
15+
/// **Reason:** Suggested topics are no longer supported
1316
/// </summary>
14-
public ID RepositoryId { get; set; }
17+
public ID? RepositoryId { get; set; }
1518

1619
/// <summary>
1720
/// The name of the suggested topic.
21+
/// **Upcoming Change on 2024-04-01 UTC**
22+
/// **Description:** `name` will be removed.
23+
/// **Reason:** Suggested topics are no longer supported
1824
/// </summary>
1925
public string Name { get; set; }
2026

Octokit.GraphQL/Model/AcceptTopicSuggestionPayload.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ internal AcceptTopicSuggestionPayload(Expression expression) : base(expression)
2323
/// <summary>
2424
/// The accepted topic.
2525
/// </summary>
26+
[Obsolete(@"Suggested topics are no longer supported Removal on 2024-04-01 UTC.")]
2627
public Topic Topic => this.CreateProperty(x => x.Topic, Octokit.GraphQL.Model.Topic.Create);
2728

2829
internal static AcceptTopicSuggestionPayload Create(Expression expression)

Octokit.GraphQL/Model/AddedToMergeQueueEvent.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ internal AddedToMergeQueueEvent(Expression expression) : base(expression)
3030
/// </summary>
3131
public User Enqueuer => this.CreateProperty(x => x.Enqueuer, Octokit.GraphQL.Model.User.Create);
3232

33+
/// <summary>
34+
/// The Node ID of the AddedToMergeQueueEvent object
35+
/// </summary>
3336
public ID Id { get; }
3437

3538
/// <summary>

Octokit.GraphQL/Model/AddedToProjectEvent.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ internal AddedToProjectEvent(Expression expression) : base(expression)
3030
/// </summary>
3131
public int? DatabaseId { get; }
3232

33+
/// <summary>
34+
/// The Node ID of the AddedToProjectEvent object
35+
/// </summary>
3336
public ID Id { get; }
3437

3538
internal static AddedToProjectEvent Create(Expression expression)

Octokit.GraphQL/Model/App.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ internal App(Expression expression) : base(expression)
3030
/// </summary>
3131
public string Description { get; }
3232

33+
/// <summary>
34+
/// The Node ID of the App object
35+
/// </summary>
3336
public ID Id { get; }
3437

3538
/// <summary>

Octokit.GraphQL/Model/AssignedEvent.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ internal AssignedEvent(Expression expression) : base(expression)
3535
/// </summary>
3636
public DateTimeOffset CreatedAt { get; }
3737

38+
/// <summary>
39+
/// The Node ID of the AssignedEvent object
40+
/// </summary>
3841
public ID Id { get; }
3942

4043
/// <summary>

Octokit.GraphQL/Model/AutoMergeDisabledEvent.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ internal AutoMergeDisabledEvent(Expression expression) : base(expression)
3030
/// </summary>
3131
public User Disabler => this.CreateProperty(x => x.Disabler, Octokit.GraphQL.Model.User.Create);
3232

33+
/// <summary>
34+
/// The Node ID of the AutoMergeDisabledEvent object
35+
/// </summary>
3336
public ID Id { get; }
3437

3538
/// <summary>

Octokit.GraphQL/Model/AutoMergeEnabledEvent.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ internal AutoMergeEnabledEvent(Expression expression) : base(expression)
3030
/// </summary>
3131
public User Enabler => this.CreateProperty(x => x.Enabler, Octokit.GraphQL.Model.User.Create);
3232

33+
/// <summary>
34+
/// The Node ID of the AutoMergeEnabledEvent object
35+
/// </summary>
3336
public ID Id { get; }
3437

3538
/// <summary>

0 commit comments

Comments
 (0)