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

Configurer comments not working. #6

Open
siredwin opened this issue Jul 17, 2020 · 2 comments
Open

Configurer comments not working. #6

siredwin opened this issue Jul 17, 2020 · 2 comments

Comments

@siredwin
Copy link

This is a two-part issue.
The first is that I cannot get any comments on my YAML config at all using any common trick.

When I finally use YAML nodes, the whole node structure is displayed with all the right contents(over 100 lines of it) for only a 4 line piece of information. Could it be an unmarshaling issue?
I also notice that the API manages to display nicely commented YAML file? Can I do the same thing if possible?

@jmattheis
Copy link
Member

gotify/server currently uses yaml.v2 and as far as I can see yaml.Node was introduced in yaml.v3.

@siredwin
Copy link
Author

That makes sense. I will be watching out for v3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants