pulumi/sdk/go/common/util/yamlutil
Brandon Pollack 1e39fa9d0a
Preserve ordering when editing stack config. (#17452)
This fix does not append new nodes when encountered but instead adds
them to the end after all nodes are processed.

I also took to opportunity to rename new to newNode to not shadow the
keyword. Suprising that go even allows this.

Fixes: #14860
2024-10-02 13:31:10 +00:00
..
edit.go Preserve ordering when editing stack config. (#17452) 2024-10-02 13:31:10 +00:00
edit_test.go Preserve ordering when editing stack config. (#17452) 2024-10-02 13:31:10 +00:00
encode.go yamlutil: Export 2-space encoder and refactor encoding package to use 2022-12-10 14:26:14 -08:00