go-yaml
go-yaml copied to clipboard
Properly handle nil slices (and other nils)
In https://github.com/goccy/go-yaml/issues/80, it is proposed (and was implemented) that e.g. nil slices (and, I presume, other nil references) use the syntax e.g. []
.
This breaks YAML spec, for both 1.1 and 1.2. It must be null
.
Bumping this. This breaks YAML specification.