Skip to content

Commit

Permalink
Add 'Data' category to Workflow Management Feature
Browse files Browse the repository at this point in the history
The 'Data' category has been added to the Workflow Management Feature. This includes support for byte arrays and Stream types, extending the type capabilities of the feature.
  • Loading branch information
sfmskywalker committed Jun 13, 2024
1 parent 1677714 commit b496219
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public class WorkflowManagementFeature : FeatureBase
private const string PrimitivesCategory = "Primitives";
private const string LookupsCategory = "Lookups";
private const string DynamicCategory = "Dynamic";
private const string DataCategory = "Data";

private string CompressionAlgorithm { get; set; } = nameof(None);
private LogPersistenceMode LogPersistenceMode { get; set; } = LogPersistenceMode.Include;
Expand Down Expand Up @@ -78,7 +79,9 @@ public WorkflowManagementFeature(IModule module) : base(module)
new(typeof(TimeSpan), PrimitivesCategory, "Represents a duration of time."),
new(typeof(IDictionary<string, string>), LookupsCategory, "A dictionary with string key and values."),
new(typeof(IDictionary<string, object>), LookupsCategory, "A dictionary with string key and object values."),
new(typeof(ExpandoObject), DynamicCategory, "A dictionary that can be typed as dynamic to access members using dot notation.")
new(typeof(ExpandoObject), DynamicCategory, "A dictionary that can be typed as dynamic to access members using dot notation."),
new(typeof(byte[]), DataCategory, "A byte array."),
new(typeof(Stream), DataCategory, "A stream.")
];

/// <summary>
Expand Down

0 comments on commit b496219

Please sign in to comment.