3 ms·
In YAML 1.2 that gives the string "no".
by mminer237 3y ago
In YAML 1.2 that gives the string "no".
- 8organicbits 3y agoHuh, that's a breaking change. yes/y/no/n/on/off are no longer boolean. https://perlpunk.github.io/yaml-test-schema/schemas.html https://perlpunk.github.io/yaml-test-schema/schemas.html
- milliams 3y agoYes, it it. However, it's a breaking change that happened 14 years ago.
- masklinn 3y agoExcept for many yaml implementations either not supporting 1.2 at all (pyyaml, ruby stdlib) or being a weird mix (goyaml) so as to keep working with older files. So when you’re dealing with objective reality, this is still an issue today.
- manojlds 3y agoSo that's been the spec since 2009???