From 59fb9afe43d86d98c4617de646eeb5db45827f71 Mon Sep 17 00:00:00 2001 From: Karol Zadora-Przylecki Date: Tue, 4 Nov 2025 16:43:23 -0800 Subject: [PATCH] Make NetworkIdentifier a record to allow for non-breaking additions in future releases --- src/Aspire.Hosting/ApplicationModel/Network.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Aspire.Hosting/ApplicationModel/Network.cs b/src/Aspire.Hosting/ApplicationModel/Network.cs index fc11fdd0677..f1b4401cb3d 100644 --- a/src/Aspire.Hosting/ApplicationModel/Network.cs +++ b/src/Aspire.Hosting/ApplicationModel/Network.cs @@ -6,7 +6,7 @@ namespace Aspire.Hosting.ApplicationModel; /// /// A network identifier used to specify the network context for resources within an Aspire application model. /// -public readonly record struct NetworkIdentifier(string Value); +public record NetworkIdentifier(string Value); /// /// Provides known network identifiers for use within the Aspire application model API.