Closed yarikoptic closed 1 year ago
@yarikoptic I can't tell from the YAML standard who's in the right, but PyYAML considers a bare 000296
to be a string.
https://github.com/yaml/pyyaml also
❯ python3 -c 'import yaml; print(repr(yaml.load(open("/tmp/tricky.yaml"), yaml.SafeLoader)))'
{'id': '000295'}
I guess it is yq issue, let's forget about it for now
ATM it is
so can be treated as int (not sure if yaml format standard forces into str if seemingly number starts with 0 or not) and causes
yq
to pukeor the issue is in
yq
?