pulumi/sdk/dotnet/Pulumi.Automation
Anton Tayanovskyy 6d393ac929 Avoid overriding dotnet proj settings accidentally (#6670)
* Add failing test

* Guard against overrding project settings accidentally

* Throw exception in case of conflct

* Update sdk/dotnet/Pulumi.Automation/DictionaryContentsComparer.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Update sdk/dotnet/Pulumi.Automation/ProjectRuntime.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Update sdk/dotnet/Pulumi.Automation/ProjectTemplateConfigValue.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Update sdk/dotnet/Pulumi.Automation/ProjectTemplate.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Update sdk/dotnet/Pulumi.Automation/ProjectRuntimeOptions.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Update sdk/dotnet/Pulumi.Automation/ProjectBackend.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Update sdk/dotnet/Pulumi.Automation/ProjectSettings.cs

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

* Reduce nesting

* Make the new exception public

* Introduce a CHANGELOG entry since we add to pub API

* Stricter check before throwing

* Address PR feedback, round 1

* Use Reference.Equals check

* Move DictionaryContentsComparer out of top-level

Co-authored-by: Komal Ali <komal@pulumi.com>
Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
2021-04-01 22:01:00 +01:00
..
Collections Avoid overriding dotnet proj settings accidentally (#6670) 2021-04-01 22:01:00 +01:00
Commands Use CliWrap for subprocess management (#6654) 2021-03-31 10:41:02 -04:00
Events [automation/dotnet] Expose structured logging (#6572) 2021-03-30 14:57:38 -04:00
Exceptions Avoid overriding dotnet proj settings accidentally (#6670) 2021-04-01 22:01:00 +01:00
Runtime [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
Serialization [automation/dotnet] Expose structured logging (#6572) 2021-03-30 14:57:38 -04:00
AssemblyAttribute.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
ConfigValue.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
DestroyOptions.cs [automation/dotnet] Add ability to capture stderr (#6513) 2021-03-15 09:11:42 -07:00
HistoryOptions.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
InlineProgramArgs.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
LocalProgramArgs.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
LocalWorkspace.cs Avoid overriding dotnet proj settings accidentally (#6670) 2021-04-01 22:01:00 +01:00
LocalWorkspaceOptions.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
OperationType.cs [automation/dotnet] Add ReadDiscard OperationType (#6493) 2021-03-12 10:10:56 -08:00
OutputValue.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
PluginInfo.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
PluginKind.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
PreviewOptions.cs [automation] - Add diff to up and preview in automation API (#6413) 2021-02-23 17:38:28 -08:00
PreviewResult.cs [automation/dotnet] Expose structured logging (#6572) 2021-03-30 14:57:38 -04:00
ProjectBackend.cs Avoid overriding dotnet proj settings accidentally (#6670) 2021-04-01 22:01:00 +01:00
ProjectRuntime.cs Avoid overriding dotnet proj settings accidentally (#6670) 2021-04-01 22:01:00 +01:00
ProjectRuntimeName.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
ProjectRuntimeOptions.cs Avoid overriding dotnet proj settings accidentally (#6670) 2021-04-01 22:01:00 +01:00
ProjectSettings.cs Avoid overriding dotnet proj settings accidentally (#6670) 2021-04-01 22:01:00 +01:00
ProjectTemplate.cs Avoid overriding dotnet proj settings accidentally (#6670) 2021-04-01 22:01:00 +01:00
ProjectTemplateConfigValue.cs Avoid overriding dotnet proj settings accidentally (#6670) 2021-04-01 22:01:00 +01:00
PublicAPI.Shipped.txt [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
PublicAPI.Unshipped.txt Avoid overriding dotnet proj settings accidentally (#6670) 2021-04-01 22:01:00 +01:00
Pulumi.Automation.csproj Use CliWrap for subprocess management (#6654) 2021-03-31 10:41:02 -04:00
Pulumi.Automation.xml Avoid overriding dotnet proj settings accidentally (#6670) 2021-04-01 22:01:00 +01:00
PulumiFn.Inline.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
PulumiFn.TStack.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
PulumiFn.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
RefreshOptions.cs [automation/dotnet] Add ability to capture stderr (#6513) 2021-03-15 09:11:42 -07:00
StackSettings.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
StackSettingsConfigValue.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
StackSummary.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
UpOptions.cs [automation/dotnet] Add ability to capture stderr (#6513) 2021-03-15 09:11:42 -07:00
UpResult.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
UpdateKind.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
UpdateOptions.cs [automation/dotnet] Expose structured logging (#6572) 2021-03-30 14:57:38 -04:00
UpdateResult.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
UpdateState.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
UpdateSummary.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
WhoAmIResult.cs [Automation API] - C# Implementation (#5761) 2021-02-18 11:36:21 +01:00
Workspace.cs [automation/dotnet] Expose structured logging (#6572) 2021-03-30 14:57:38 -04:00
WorkspaceStack.cs [automation/dotnet] Expose structured logging (#6572) 2021-03-30 14:57:38 -04:00