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
Although schemas with a union of enum arrays are valid, schema-salad-tool cannot parse documents with such schemas and throws an exception due to the schema rather than the input document.
If it is a bug of schema-salad-tool, I will send a pull request for it.
Although schemas with a union of enum arrays are valid, schema-salad-tool cannot parse documents with such schemas and throws an exception due to the schema rather than the input document.
If it is a bug of schema-salad-tool, I will send a pull request for it.
Inputs
It is a valid schema as shown in the following command:
Therefore we expect that schema-salad-tool can parse the following document with the above schema:
We expect
doc.yml
can be parsed withenum-arrays.yml
.$ schema-salad-tool enum-arrays.yml doc.yml
Expected behavior
It succeeds its execution as follows:
Actual behavior
It fails validation due to the error of the schema although it is valid:
The text was updated successfully, but these errors were encountered: