You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many thanks for the feedback. I worked around this for now by sed'ing the * to a placeholder, then running yq and then replacing it back. This works for now :-)
A flag such as --legacy that enables the old behaviour would also work. This way existing users would be impacted, but all they would have to do is to add --legacy to any affected scripts when they update. That way they don't have too much disruption but know that they need to sit down and update their scripts at some time. They will have had due warning that this thing is going to go away. Otherwise new users will have to tangle with old patterns that maybe you don't really want any more.
Describe the bug
YAML property names get replaced if one of them contains an asterisk
*
when running the “merge YAML” example.Below, this is the case for
image/*
. Note that for this bug report, I’m “merging” just a single YAML to illustrate the issue.Version of yq: 4.27.3
Operating system: mac
Installed via: homebrew
Input Yaml
data1.yml:
Command
The command you ran:
Actual behavior
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: