-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I can't get this to work:
let v = themis.validator({
id: 'test',
allOf: [
{
anyOf: [
{
required: ['test']
}
]
}
]
});
let report = v({
test: 2
}, 'test'); // gives report.valid = falseWorks fine in other JSON validators... ironic since you're actually using this pattern in the feature to validate schemas... which is inherently broken as a result.. e.g. force_additional: true doesn't work in options.
However, the big issue here is probably that validation is broken...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels