Skip to content

Migrate from go-yaml/yaml to goccy/go-yaml #189

Open
@babakks

Description

@babakks

Description

The YAML parser we're using (i.e., go-yaml/yaml, as gopkg.in/yaml.v3 module) has recently been archived. A good alternative is goccy/go-yaml, which is a Go-idiomatic implementation.

Since this change does not surface to the user experience, an A/C is not applicable.

Required changes

The YAML parser is only used in one package, which is internal/yamlmap. This package implements a strongly-typed wrapper around a YAML data source, and therefore, heavily relies on this particular parser. We will have to rewrite this package. One possible challenge that we might have is that the current parser supports assigning informational tags to YAML nodes, but the new one does not (at least, as I quickly checked).

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions