From a2a56f642c93a03926b1d857744d7338abc36efd Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Sat, 2 May 2026 12:10:36 +0800 Subject: [PATCH] fix: UpdateDataTableRowField accepts any value type, not just maps The provisioner just marshals the value to JSON regardless of type. Restricting to map[string]any prevented plugins from setting scalar field values (strings, numbers, booleans). Co-Authored-By: Claude Opus 4.6 --- plugin/provisioner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/provisioner.go b/plugin/provisioner.go index b9d73d9..1c0b7e2 100644 --- a/plugin/provisioner.go +++ b/plugin/provisioner.go @@ -19,7 +19,7 @@ type Provisioner interface { RegisterEmbeddingConfig(config EmbeddingConfigDef) error EnsureEmbed(config EmbedConfig) error EnsureJobSchedule(config JobScheduleConfig) error - UpdateDataTableRowField(ctx context.Context, rowID uuid.UUID, fieldKey string, value map[string]any) error + UpdateDataTableRowField(ctx context.Context, rowID uuid.UUID, fieldKey string, value any) error DisableOrphanedJobSchedules(registeredTypes []string) error EnsurePlugin(name string) error EnsureCustomColor(config CustomColorConfig) error