Magic *_keys
and *_values
Remap functions
#5785
Labels
domain: vrl
Anything related to the Vector Remap Language
needs: approval
Needs review & approval before work can begin.
type: feature
A value-adding code addition that introduce new functionality.
Yes, I said "magic" 🐰 . #5377, #5784, and #5783 introduce functions that walk and mutate the entire event. They are simple solutions that avoid hard-to-follow traversal/walk constructs in Remap, like the ones being discussed in #4518. These functions are much easier to implement, read, and understand. To avoid the repetitive nature of defining functions that end with
_keys
and_values
it would be nice to get these functions automatically. I'm on the fence with this but wanted to record an explicit decision here before we move forward with the blocked issues.Requirements
*_keys
and*_values
for functions that operate on single values (accept a single value as their first parameter).The text was updated successfully, but these errors were encountered: