From 7d23ee5434af7c20a90e4f7abcd5c6c5bb2d1203 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sun, 23 Nov 2025 23:12:23 +0000
Subject: [PATCH 1/2] Initial plan
From 77a971f3b181001d7d02b1d3c90256b904b8051d Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sun, 23 Nov 2025 23:16:36 +0000
Subject: [PATCH 2/2] Fix misspelling of "optional" as "optinal" in
documentation
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
---
.../GolangAppHostingExtension.cs | 6 +++---
.../RustAppHostingExtension.cs | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/CommunityToolkit.Aspire.Hosting.Golang/GolangAppHostingExtension.cs b/src/CommunityToolkit.Aspire.Hosting.Golang/GolangAppHostingExtension.cs
index 7e1adaa84..964dc135d 100644
--- a/src/CommunityToolkit.Aspire.Hosting.Golang/GolangAppHostingExtension.cs
+++ b/src/CommunityToolkit.Aspire.Hosting.Golang/GolangAppHostingExtension.cs
@@ -19,7 +19,7 @@ public static class GolangAppHostingExtension
/// The to add the resource to.
/// The name of the resource.
/// The working directory to use for the command. If null, the working directory of the current process is used.
- /// The optinal arguments to be passed to the executable when it is started.
+ /// The optional arguments to be passed to the executable when it is started.
/// A reference to the .
[Obsolete("Use AddGolangApp with buildTags parameter instead. This method will be removed in a future version.")]
public static IResourceBuilder AddGolangApp(this IDistributedApplicationBuilder builder, [ResourceName] string name, string workingDirectory, string[] args)
@@ -31,7 +31,7 @@ public static IResourceBuilder AddGolangApp(this ID
/// The to add the resource to.
/// The name of the resource.
/// The working directory to use for the command. If null, the working directory of the current process is used.
- /// The optinal arguments to be passed to the executable when it is started.
+ /// The optional arguments to be passed to the executable when it is started.
/// The optional build tags to be used when building the Golang application.
/// A reference to the .
public static IResourceBuilder AddGolangApp(this IDistributedApplicationBuilder builder, [ResourceName] string name, string workingDirectory, string[]? args = null, string[]? buildTags = null)
@@ -44,7 +44,7 @@ public static IResourceBuilder AddGolangApp(this ID
/// The name of the resource.
/// The working directory to use for the command. If null, the working directory of the current process is used.
/// The path to the Golang package directory or source file to be executed. Use "." to execute the program in the current directory. For example, "./cmd/server".
- /// The optinal arguments to be passed to the executable when it is started.
+ /// The optional arguments to be passed to the executable when it is started.
/// The optional build tags to be used when building the Golang application.
/// A reference to the .
public static IResourceBuilder AddGolangApp(this IDistributedApplicationBuilder builder, [ResourceName] string name, string workingDirectory, string executable, string[]? args = null, string[]? buildTags = null)
diff --git a/src/CommunityToolkit.Aspire.Hosting.Rust/RustAppHostingExtension.cs b/src/CommunityToolkit.Aspire.Hosting.Rust/RustAppHostingExtension.cs
index 547a28f40..613a72cc1 100644
--- a/src/CommunityToolkit.Aspire.Hosting.Rust/RustAppHostingExtension.cs
+++ b/src/CommunityToolkit.Aspire.Hosting.Rust/RustAppHostingExtension.cs
@@ -14,7 +14,7 @@ public static class RustAppHostingExtension
/// The to add the resource to.
/// The name of the resource.
/// The working directory to use for the command.
- /// The optinal arguments to be passed to the executable when it is started.
+ /// The optional arguments to be passed to the executable when it is started.
/// A reference to the .
public static IResourceBuilder AddRustApp(this IDistributedApplicationBuilder builder, [ResourceName] string name, string workingDirectory, string[]? args = null)
{