Added attributes to query results

This commit is contained in:
2025-12-25 12:39:01 +01:00
parent 040d4f916a
commit 5877ebaff2
2 changed files with 6 additions and 2 deletions

View File

@@ -19,6 +19,9 @@ public class EntityQueryResult
public required string Name { get; set; }
[JsonPropertyName("Value")]
public float Value { get; set; }
[JsonPropertyName("Attributes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public Dictionary<string, string>? Attributes { get; set; }
}
public class EntityIndexResult