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 A clear and concise description of what the bug is.
When we merge two SequenceNodes by ast.Merge, comments are 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/xTKF9ON8bUd
Expected behavior A clear and concise description of what you expected to happen.
ast.Merge keeps comments.
- foo # hello - bar - zoo - baz
Screenshots If applicable, add screenshots to help explain your problem.
Version Variables
Additional context Add any other context about the problem here.
I reported the similar issue before. ast.Merge doesn't update ValueHeadComments.
ValueHeadComments
go-yaml/ast/ast.go
Lines 1473 to 1478 in 5d22eed
✅ I'll create a pull request to resolve this issue. #570
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
This problem has already been fixed with v1.15.7.
No branches or pull requests
Describe the bug
A clear and concise description of what the bug is.
When we merge two SequenceNodes by ast.Merge, comments are 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/xTKF9ON8bUd
Expected behavior
A clear and concise description of what you expected to happen.
ast.Merge keeps comments.
Screenshots
If applicable, add screenshots to help explain your problem.
Version Variables
Additional context
Add any other context about the problem here.
I reported the similar issue before.
ast.Merge doesn't update
ValueHeadComments
.go-yaml/ast/ast.go
Lines 1473 to 1478 in 5d22eed
✅ I'll create a pull request to resolve this issue. #570
The text was updated successfully, but these errors were encountered: