We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Originally posted by klimenkov February 22, 2023 Consider an example: echo [1, 2] | yq '[.[] | . as $x | $x + 1]' it returns a list of 4 elements:
echo [1, 2] | yq '[.[] | . as $x | $x + 1]'
- 2 - 3 - 2 - 3
but I expected a list of 2 values [2, 3]. Is it a feature of product traversal? If so, how to make it flat?
[2, 3]
The text was updated successfully, but these errors were encountered:
62d167c
Fixed in v4.31.2
Sorry, something went wrong.
No branches or pull requests
Discussed in #1565
Originally posted by klimenkov February 22, 2023
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?
The text was updated successfully, but these errors were encountered: