Replies: 1 comment 2 replies
-
Yeah that's a bug :( will lok at when I get a chance |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider an example:
echo [1, 2] | yq '[.[] | . as $x | $x + 1]'
it returns a list of 4 elements:
but I expected a list of 2 values
[2, 3]
.Is it a feature of product traversal? If so, how to make it flat?
Beta Was this translation helpful? Give feedback.
All reactions