Consider allowing variadic functions to operate on arrays #158
springcomp
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For instance, this is currently possible:
search( merge({foo: 'bar'}, {baz: 'qux'}) , null ) -> {"foo": "bar", "baz": "qux"}
Consider supporting the following similar expression:
[{foo: 'bar'}, {baz: 'qux'}] | merge(@)
Where a potentially updated
merge()
function would also support an array coming from upstream expression evaluation.Beta Was this translation helpful? Give feedback.
All reactions