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
Describe the bug When using deep splats with yq delete, it does not appear to delete paths that would be found by yq read.
yq delete
yq read
Command Reading works with deep splats:
$ echo '{a: {b: {c: 1 } } }' | yq r - '**.c' 1
But deleting does not:
$ echo '{a: {b: {c: 1 } } }' | yq d - '**.c' {a: {b: {c: 1}}}
Expected behavior
$ echo '{a: {b: {c: 1 } } }' | yq d - 'a.b.c' {a: {b: {}}}
Additional context yq version 3.3.0 on Linux/amd64, binary freshly downloaded from releases page.
yq version 3.3.0
See also #175 which was about non-deep (shallow?) splats. That appears to work in this version.
The text was updated successfully, but these errors were encountered:
Can replicate it, will fix in next release
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When using deep splats with
yq delete
, it does not appear to delete paths that would be found byyq read
.Command
Reading works with deep splats:
But deleting does not:
Expected behavior
Additional context
yq version 3.3.0
on Linux/amd64, binary freshly downloaded from releases page.See also #175 which was about non-deep (shallow?) splats. That appears to work in this version.
The text was updated successfully, but these errors were encountered: