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

It appears that y/n and other booleans is not supported. #3

Open
jonathan-s opened this issue Jul 5, 2023 · 1 comment · May be fixed by #4
Open

It appears that y/n and other booleans is not supported. #3

jonathan-s opened this issue Jul 5, 2023 · 1 comment · May be fixed by #4

Comments

@jonathan-s
Copy link

jonathan-s commented Jul 5, 2023

If you try out the values specified here > https://yaml.org/type/bool.html
It won't work as expected, it will not create a dictionary with a boolean, instead it will create dictionary with a string which is not what we expect in this case.

Tracking this here > dtolnay/serde-yaml#379

@jonathan-s
Copy link
Author

I just learned that version 1.1 of the yaml spec has one set of accepted booleans whereas version 1.2 of the yaml spec has smaller set of accepted booleans. So the resolution to this should be to update the readme and make clear that this package only supports the 1.2 version of the yaml spec.

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