boosted-yaml
boosted-yaml copied to clipboard
Comments in default incorrect order
Version: 1.3.2
Comments are loaded in wrong place when creating a YAML file with the default values, like for me they should be set at the bottom.
Environment: Minecraft Velocity Server
Expected:
- Comments are put in the same place as the file within the resources directory within the project
Result:
- Comments are loaded are the very top regardless of where they should be.
Hey, @FrostFizzie, thanks for reporting the issue. I believe this was an issue with SnakeYAML Engine, due to which I decided to make it so all comments are moved before their respective nodes as opposed to after. I will further look into the issue and will let you know about any updates the following days. Thanks for patience.
Hi, @FrostFizzie, sorry for the delay, there was quite a lot of work and testing involved in releasing a fix for this. PR #26 fixed improper comment handling and serialization. Please check it out, it should patch the behaviour you are experiencing. Thanks for patience and thanks for supporting the library!