chore: forgot to stage everything

This commit is contained in:
Stavros
2026-02-16 23:20:23 +02:00
parent 6f4424dd08
commit e72c7acb5d

View File

@@ -68,6 +68,14 @@ func buildPath(field reflect.StructField, fieldValue reflect.Value, parent strin
Description: desc,
Value: defaultValue,
}
if fieldValue.Kind() == reflect.Slice {
sl, ok := defaultValue.([]string)
if !ok {
slog.Error("invalid default value", "value", defaultValue)
return
}
path.Value = strings.Join(sl, ",")
}
*paths = append(*paths, path)
}