-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Fix ambiguity in element_symbol field #1717
Conversation
The Yaml specification treats both `Y` and `No` as boolean: https://yaml.org/type/bool.html This causes problem when parsing them as a string. The patch makes sure that the Yaml parser treats them as string. Background: Found this bug while writing some test code for [fakedata](https://github.com/psibi/fakedata) which uses this project's data source.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@vbrazo I see that you have assigned the PR to me. Is there anything else pending ? The other locales doesn't need to be updated as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
The Yaml specification treats both Y and No as boolean: https://yaml.org/type/bool.html This causes problem when parsing them as a string. The patch makes sure that the Yaml parser treats them as string. This should have been fixed as part of faker-ruby#1717 but I missed it somehow.
The Yaml specification treats both Y and No as boolean: https://yaml.org/type/bool.html This causes problem when parsing them as a string. The patch makes sure that the Yaml parser treats them as string. This should have been fixed as part of #1717 but I missed it somehow.
The Yaml specification treats both `Y` and `No` as boolean: https://yaml.org/type/bool.html This causes problem when parsing them as a string. The patch makes sure that the Yaml parser treats them as string. Background: Found this bug while writing some test code for [fakedata](https://github.com/psibi/fakedata) which uses this project's data source.
The Yaml specification treats both Y and No as boolean: https://yaml.org/type/bool.html This causes problem when parsing them as a string. The patch makes sure that the Yaml parser treats them as string. This should have been fixed as part of faker-ruby#1717 but I missed it somehow.
The Yaml specification treats both `Y` and `No` as boolean: https://yaml.org/type/bool.html This causes problem when parsing them as a string. The patch makes sure that the Yaml parser treats them as string. Background: Found this bug while writing some test code for [fakedata](https://github.com/psibi/fakedata) which uses this project's data source.
The Yaml specification treats both Y and No as boolean: https://yaml.org/type/bool.html This causes problem when parsing them as a string. The patch makes sure that the Yaml parser treats them as string. This should have been fixed as part of faker-ruby#1717 but I missed it somehow.
The Yaml specification treats both
Y
andNo
as boolean:https://yaml.org/type/bool.html
This causes problem when parsing them as a string. The patch makes
sure that the Yaml parser treats them as string.
Background: Found this bug while writing some test code for
fakedata which uses this project's data source.