From 84e4acf6b3183e1b36e83c68f1f5a7363c5d640d Mon Sep 17 00:00:00 2001 From: Ricard Bejarano Date: Thu, 19 Sep 2024 09:11:59 +0200 Subject: [PATCH] Keep hidden fields in std.prune --- stdlib/std.jsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/std.jsonnet b/stdlib/std.jsonnet index fccbe26d5..b608ead22 100644 --- a/stdlib/std.jsonnet +++ b/stdlib/std.jsonnet @@ -1625,7 +1625,7 @@ limitations under the License. [std.prune(x) for x in a if isContent($.prune(x))] else if std.isObject(a) then { [x]: $.prune(a[x]) - for x in std.objectFields(a) + for x in std.objectFieldsAll(a) if isContent(std.prune(a[x])) } else a,