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
When trying to sequentially append two objects to an array, say array + o1 + o2, instead of appending o1 then appending o2, yq combined the objects o1 and o2, then appended the new object to the array.
Version of yq: 4.44.3
Operating system: mac
Installed via: homebrew
Input Yaml
N/A
Command
The command you ran:
yq -n '[] + {"a":1} + {"b":2}'
Actual behavior
- a: 1b: 2
Expected behavior
- a: 1
- b: 2
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to sequentially append two objects to an array, say
array + o1 + o2
, instead of appending o1 then appending o2, yq combined the objects o1 and o2, then appended the new object to the array.Version of yq: 4.44.3
Operating system: mac
Installed via: homebrew
Input Yaml
N/A
Command
The command you ran:
yq -n '[] + {"a":1} + {"b":2}'
Actual behavior
Expected behavior
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: