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
Where the allowed values are somteimes integers (parsing this with default yaml-libraries). The question is how to handle this:
Always expect (when loading the yaml-schema) that allowed need to be strings and pre-format it as such after loading
Expect from the user to be explicit about the string, by requiring quotes: allowed: '3536'
Provide a 'SchemaError' (or 'SpecificationError'), stating that allowed need to be string/list as for integers, the combination min/max is provided. However what with allowed: ['4', '27']?
The text was updated successfully, but these errors were encountered:
Consider the following example:
Where the
allowed
values are somteimes integers (parsing this with default yaml-libraries). The question is how to handle this:allowed
need to be strings and pre-format it as such after loadingallowed: '3536'
min
/max
is provided. However what withallowed: ['4', '27']
?The text was updated successfully, but these errors were encountered: