Using anonymous objects instead of Dictionary<string, object?> results into compile-time error
I’m doing Pulumi C# Infrastructure as Code (IaC). Pulumi docs uses Dictionary<string, object?> which I want to replace with anonymous objects because they look better. The issue is that I’m getting a compile-time error with the anonymous objects. x is ImmutableArray<string>. Fine var xpolicyDoc = Output .All(tables.UserTradesTableArn) .Apply(x => new Dictionary<string, object?> { { "Version",… Read More Using anonymous objects instead of Dictionary<string, object?> results into compile-time error