Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Conversation

@jlourenc
Copy link

@jlourenc jlourenc commented May 23, 2022

This PR partially reverts 309c9d1 while keeping unique mapping keys enforcement as default behaviour for Unmarshal.

The rationale is that libraries like ghodss/yaml relies on uniqueKeys being set to false. Giving the possibility to do so would allow the upgrade of go-yaml to v3 without introducing breaking changes.

@jlourenc
Copy link
Author

ghodss/yaml draft fix using this changeset: ghodss/yaml#79

@jlourenc
Copy link
Author

jlourenc commented Jun 4, 2022

@niemeyer could I get some eyes on this ? That'd be much appreciated 🙇🏼

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant