Skip to content

Configurer comments not working. #6

Open

Description

@siredwin

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?

Activity

  1. jmattheis commented on Jul 20, 2020

    @jmattheis
    Member

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

  2. siredwin commented on Jul 20, 2020

    @siredwin
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions