feat(commons): add DataType.List + ElementDataType companion for multi-value attributes

This commit is contained in:
Joseph Doherty
2026-06-16 15:18:12 -04:00
parent 09d7319958
commit 70fa0e7397
4 changed files with 20 additions and 1 deletions
@@ -8,5 +8,6 @@ public enum DataType
Double,
String,
DateTime,
Binary
Binary,
List
}
@@ -66,6 +66,8 @@ public sealed record ResolvedAttribute
public string? Value { get; init; }
/// <summary>Gets the data type name.</summary>
public string DataType { get; init; } = string.Empty;
/// <summary>For List attributes: the element scalar type name; null otherwise.</summary>
public string? ElementDataType { get; init; }
/// <summary>Gets whether the attribute is locked.</summary>
public bool IsLocked { get; init; }
/// <summary>Gets the attribute description.</summary>