Skip to content
New issue

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

preserve yaml comments #34

Open
pi0 opened this issue Oct 6, 2024 · 0 comments
Open

preserve yaml comments #34

pi0 opened this issue Oct 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pi0
Copy link
Member

pi0 commented Oct 6, 2024

context

Currently, parse + serialize causes the comments to be lost

If we switch to yaml package, (#33), we can use Document over a Proxy that preserves the normal "value" object shape and finally, when saving, comments will be preserved. (comments can be accessed/set from a util using a symbol)

@pi0 pi0 added the enhancement New feature or request label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant