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
suzuki-shunsuke
changed the title
Can't add an element to SequenceNode keeping comments
Comments in a SequenceNode are removed when adding a new element to the SequenceNode
Nov 3, 2024
Describe the bug
A clear and concise description of what the bug is.
I want to append a new element to a SequenceNode keeping comments.
I could append a new element but comments in the SequenceNode were removed.
To Reproduce
Please provide a minimum yaml content that can be reproduced.
We are more than happy to use Go Playground
https://go.dev/play/p/27cMKnuAVKM
Expected behavior
A clear and concise description of what you expected to happen.
Original YAML:
I want to append a new element to the packages keeping the comment
# hello
.But actually the comment was removed.
Screenshots
If applicable, add screenshots to help explain your problem.
Version Variables
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: