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
Allowed values compares strings, but in the yaml-specification users can actually provide integer values as well, e.g.
uncertainty:
allowed: 3650
The yaml-parser will interpret this as a dictionary with an integer value leading to issues on the validation, whereas
uncertainty:
allowed: '3650'
will compare the string values as such.
Either we interpret all allowed specifications as a string (nevertheless the type) or we could argue to the user that for numbers, the following specs are more appropriate:
Allowed values compares strings, but in the yaml-specification users can actually provide integer values as well, e.g.
The yaml-parser will interpret this as a dictionary with an integer value leading to issues on the validation, whereas
will compare the string values as such.
Either we interpret all allowed specifications as a string (nevertheless the type) or we could argue to the user that for numbers, the following specs are more appropriate:
@peterdesmet ?
The text was updated successfully, but these errors were encountered: