refactor(dcl): simplify ValueFormatter now that SDK returns native .NET arrays

The LmxProxy client's ExtractArrayValue now returns proper .NET arrays
(bool[], int[], DateTime[], etc.) instead of ArrayValue objects. Removed
the reflection-based FormatArrayContainer logic — IEnumerable handling
is sufficient for all array types.
This commit is contained in:
Joseph Doherty
2026-03-22 15:15:38 -04:00
parent af7335f9e2
commit ecf4b434c2
2 changed files with 3 additions and 33 deletions

View File

@@ -234,8 +234,8 @@ public class LmxProxyDataConnection : IDataConnection
/// <summary>
/// Normalizes a Vtq value for consumption by the rest of the system.
/// Converts LmxProxy ArrayValue objects to comma-separated strings
/// so downstream code doesn't need to know about LmxProxy domain types.
/// Converts .NET arrays (bool[], int[], DateTime[], etc.) to comma-separated
/// display strings so downstream code sees simple string representations.
/// </summary>
private static object? NormalizeValue(object? value) => value switch
{