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

Dupliacte keys are not detected as invalid YAML #174

Open
jonasthewolf opened this issue Jul 19, 2021 · 0 comments · May be fixed by #185
Open

Dupliacte keys are not detected as invalid YAML #174

jonasthewolf opened this issue Jul 19, 2021 · 0 comments · May be fixed by #185

Comments

@jonasthewolf
Copy link

The following YAML is to my understanding not valid, due to key1 not being unique:

key1: 
  a: "b"
key1: 
  b: "c"

Please see https://stackoverflow.com/questions/47668308/duplicate-key-in-yaml-configuaration-file for details.
I would have expected yaml-rust to report the duplicate to the user as an error.
Do you share that understanding?
If you can give some hints where to fix this, I would be happy to support.

@higuruchi higuruchi linked a pull request Dec 31, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant