Skip to content

Commit 1c673c9

Browse files
committed
Minor Fusion CommandLine Fixes
1 parent 0d3a624 commit 1c673c9

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

src/HotChocolate/Fusion/src/CommandLine/Commands/SubgraphConfigSetHttpCommand.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ private static async Task ExecuteAsync(
7777

7878
await ReplaceSubgraphConfigInSubgraphPackageAsync(
7979
configFile.FullName,
80-
config with { Clients = clients },
81-
cancellationToken);
80+
config with { Clients = clients });
8281
}
8382
else
8483
{

src/HotChocolate/Fusion/src/CommandLine/Commands/SubgraphConfigSetNameCommand.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ private static async Task ExecuteAsync(
5656

5757
await ReplaceSubgraphConfigInSubgraphPackageAsync(
5858
configFile.FullName,
59-
config with { Name = subgraphName },
60-
cancellationToken);
59+
config with { Name = subgraphName });
6160
}
6261
else
6362
{

src/HotChocolate/Fusion/src/CommandLine/Commands/SubgraphConfigSetWebSocketCommand.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ private static async Task ExecuteAsync(
7777

7878
await ReplaceSubgraphConfigInSubgraphPackageAsync(
7979
configFile.FullName,
80-
config with { Clients = clients },
81-
cancellationToken);
80+
config with { Clients = clients });
8281
}
8382
else
8483
{

src/HotChocolate/Fusion/src/CommandLine/Helpers/PackageHelper.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ namespace HotChocolate.Fusion.CommandLine.Helpers;
1313

1414
internal static class PackageHelper
1515
{
16-
private const string _fusionKind = "urn:hotchocolate:fusion:graph";
17-
private const string _fusionId = "fusion";
1816
private const string _schemaKind = "urn:graphql:schema";
1917
private const string _schemaId = "schema";
2018
private const string _schemaExtensionKind = "urn:graphql:schema-extensions";

0 commit comments

Comments
 (0)