From c24259e43bcbc8af20be1c3e8eff6cbb47643c79 Mon Sep 17 00:00:00 2001 From: Mathias Lykkegaard Lorenzen Date: Fri, 21 Oct 2022 07:58:42 +0200 Subject: [PATCH 1/2] Expose LocalSerializer **Use case:** I want to be able to deserialize a `Pulumi.stack.yml` file without using a `LocalWorkspace`, as that requires too much configuration and isn't very well-documented. --- sdk/dotnet/Pulumi.Automation/Serialization/LocalSerializer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/dotnet/Pulumi.Automation/Serialization/LocalSerializer.cs b/sdk/dotnet/Pulumi.Automation/Serialization/LocalSerializer.cs index c36545578fa9..91e69cd303d3 100644 --- a/sdk/dotnet/Pulumi.Automation/Serialization/LocalSerializer.cs +++ b/sdk/dotnet/Pulumi.Automation/Serialization/LocalSerializer.cs @@ -10,7 +10,7 @@ namespace Pulumi.Automation.Serialization { - internal class LocalSerializer + public class LocalSerializer { private readonly JsonSerializerOptions _jsonOptions; private readonly IDeserializer _yamlDeserializer; From f1e3ea4990c596939fd601465fe90bbcb9a2ac5e Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Mon, 31 Oct 2022 10:27:06 -0700 Subject: [PATCH 2/2] fixup! Expose LocalSerializer --- ...31--sdk-dotnet--make-the-localserializer-class-public.yaml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changelog/pending/20221031--sdk-dotnet--make-the-localserializer-class-public.yaml diff --git a/changelog/pending/20221031--sdk-dotnet--make-the-localserializer-class-public.yaml b/changelog/pending/20221031--sdk-dotnet--make-the-localserializer-class-public.yaml new file mode 100644 index 000000000000..25fc94f7bc85 --- /dev/null +++ b/changelog/pending/20221031--sdk-dotnet--make-the-localserializer-class-public.yaml @@ -0,0 +1,4 @@ +changes: +- type: feat + scope: sdk/dotnet + description: Make the `LocalSerializer` class public.