mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 16:02:24 +00:00
e4a34d031b
* feat: handle $var: and $res: in arrays for transform_json_value Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: resolve $var/$res arrays inside objects in transform_json_value Replace top_level: bool with depth: u8 to fix the main bug where arrays nested inside objects were never resolved. The Object arm recursed with top_level: false, which caused the Array arm guard to reject the value. With depth <= 2, arrays inside objects (depth 1-2) are now processed. Also: transform all array elements unconditionally (handles $encrypted: in worker, reserved $vars, nested structures), and warn on >1000 items. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>