Skip to content

Commit

Permalink
Improve readability in deployment report
Browse files Browse the repository at this point in the history
Remove superfluous fields from JSON objects representing values in union types.
  • Loading branch information
Viir committed May 26, 2020
1 parent c0c76fa commit 1d40793
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,19 @@ static public string HashBase16FromCompositionRecord(byte[] compositionRecord) =

public class CompositionEvent
{
[Newtonsoft.Json.JsonProperty(NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public ValueInFileStructure UpdateElmAppStateForEvent;

[Newtonsoft.Json.JsonProperty(NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public ValueInFileStructure SetElmAppState;

[Newtonsoft.Json.JsonProperty(NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public ValueInFileStructure DeployAppConfigAndInitElmAppState;

[Newtonsoft.Json.JsonProperty(NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public ValueInFileStructure DeployAppConfigAndMigrateElmAppState;

[Newtonsoft.Json.JsonProperty(NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public ValueInFileStructure RevertProcessTo;

static public CompositionEvent EventForDeployAppConfig(
Expand Down

0 comments on commit 1d40793

Please sign in to comment.