confbox icon indicating copy to clipboard operation
confbox copied to clipboard

preserve yaml comments

Open pi0 opened this issue 1 year ago • 0 comments

context

Currently, parse + serialize causes the comments to be lost

If we switch to yaml package, (https://github.com/unjs/confbox/issues/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 avatar Oct 06 '24 22:10 pi0