You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
problem: some unquoted keys (and values) are getting converted on load, e.g. "YES: 1" is converted to "True: 1" automatically. this behavior may be useful on values, but unexpected on keys.
yaml since 1.1 treats certain unquoted strings (like yes, no, on, off, etc.) as booleans. several other potential issues can arise due to YAML’s type inference rules, especially in YAML 1.1, e.g. null, dates and timestamps, boolean-like variants, etc.
potential solutions include quoting problematic keys/values:
"YES": 1
implementing custom loaders, or disabling the boolean resolver:
problem: some unquoted keys (and values) are getting converted on load, e.g. "YES: 1" is converted to "True: 1" automatically. this behavior may be useful on values, but unexpected on keys.
yaml since 1.1 treats certain unquoted strings (like yes, no, on, off, etc.) as booleans. several other potential issues can arise due to YAML’s type inference rules, especially in YAML 1.1, e.g. null, dates and timestamps, boolean-like variants, etc.
potential solutions include quoting problematic keys/values:
implementing custom loaders, or disabling the boolean resolver:
The text was updated successfully, but these errors were encountered: