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
YAMLValidationError: when expecting a mapping found a blank string
Argument:
I want to use the optional values as defaults, such that if you input '' you get a YAML will all defaults set. However, this is currently not possible because essentially Map({}) is impossible to validate in strictyaml.
One would expect Map({}) to be equal to EmptyDict(), but a: fails to validate for Map({}) but succeeds for EmptyDict().
My "default" design is not possible in strictyaml, and this is due to Map({}) not validating empty dicts.
Proposal:
Allow Map({}) to validate empty dicts.
The text was updated successfully, but these errors were encountered:
Expectation:
Reality:
YAMLValidationError: when expecting a mapping found a blank string
Argument:
I want to use the optional values as defaults, such that if you input '' you get a YAML will all defaults set. However, this is currently not possible because essentially
Map({})
is impossible to validate in strictyaml.One would expect
Map({})
to be equal toEmptyDict()
, buta:
fails to validate forMap({})
but succeeds forEmptyDict()
.My "default" design is not possible in strictyaml, and this is due to
Map({})
not validating empty dicts.Proposal:
Allow
Map({})
to validate empty dicts.The text was updated successfully, but these errors were encountered: