New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhancement(remap): add support for literal arrays #5278
Conversation
.foo | ||
"#, | ||
Ok(()), | ||
Ok(vec!["foo".into(), 5.into(), Value::Array(vec!["bar".into()])].into()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added an array!
macro that saves you from typing .into()
for every element. Would be useful here..
https://github.com/timberio/vector/blob/master/src/test_util/mod.rs#L542
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet 👌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
Signed-off-by: Jean Mertz <git@jeanmertz.com>
41535d5
to
d00e559
Compare
Signed-off-by: Brian Menges <brian.menges@anaplan.com>
Add support for literal arrays:
closes #5219