Instead of panicing on unset updaters, set them as unused

This might have impact on different types of data other than a window
set for STRING, but I will worry about that later on
This commit is contained in:
2026-07-08 09:47:45 +01:00
parent ca57cbd9f0
commit ce7aabfa09
2 changed files with 5 additions and 42 deletions
+3 -5
View File
@@ -29,13 +29,11 @@ type VirtualField interface {
// BoundField is the data structure we use to bind the telemetry provider's data
// to our internal telemetry fields
// NOTE: we must deprecate the `Key` member. We used it to map the internal
// telemetry fields to the providers name. But we shouldn't be using `string` keys.
type BoundField struct {
Key string // to be deprecated
Key string // NOTE: to be deprecated
ID FieldID
Fetch func() any // to be deprecated
Transform func(any, *TelemetryField) // to be deprecated
Fetch func() any // NOTE: to be deprecated
Transform func(any, *TelemetryField) // NOTE: to be deprecated
Update func(out *TelemetryField)
}