We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The following YAML is invalid:
a: 'b' b: 1
It is invalid because the indentation level has changed after a scalar value, which doesn't make sense.
To Reproduce https://go.dev/play/p/WkfZUGjlNY6
Expected behavior This yaml should be rejected with an error.
Screenshots If applicable, add screenshots to help explain your problem.
Version Variables
Additional context In the playground, I show that yaml.v3 correctly rejects the invalid yaml.
yaml.v3
The text was updated successfully, but these errors were encountered:
Very likely #358 is related
Sorry, something went wrong.
Thank you for your reporting. I'll try to fix this problem.
@braydonk Thank you for your reporting ! Also, Sorry for the late response. I've fixed this problem with latest release !
Successfully merging a pull request may close this issue.
Describe the bug
The following YAML is invalid:
It is invalid because the indentation level has changed after a scalar value, which doesn't make sense.
To Reproduce
https://go.dev/play/p/WkfZUGjlNY6
Expected behavior
This yaml should be rejected with an error.
Screenshots
If applicable, add screenshots to help explain your problem.
Version Variables
Additional context
In the playground, I show that
yaml.v3
correctly rejects the invalid yaml.The text was updated successfully, but these errors were encountered: