Let Expressions Use Just The Part Of A Large Variable They Need, Instead Of Loading And Showing The Whole Thing
X
Xenia silver Partridge
Right now, when an expression only needs a small piece of a large output variable, Harness still loads the whole variable
For example, a conditional execution expression might use something like json.select to check a single key, but Harness resolves and shows the entire variable next to it. In matrix or looping stages, that whole variable gets carried on every child stage, so it adds up fast and the resolved values get hard to read
It would be great if expressions, conditional ones included, could use just the subset of a variable they need without loading the whole value. That could be json.select itself or whatever approach fits best on the Harness side. The resolved variables view would then show only the part that was used, like the selected key and its result. That's more efficient, easier to read, and still shows how the expression was evaluated. It also means people could keep one large shared output variable instead of splitting it into lots of smaller ones