Validate throw error with `additionalProperties: true`
ThibaudAV opened this issue · 1 comments
ThibaudAV commented
If I set additionalProperties to true I get this error during validation:
Uncaught TypeError: Parameter 'url' must be a string, not function
If I understand correctly additionalProperties should never be true
but only false | Schema
.
In my case i need to init them to {}
right ?
Source : #57 (comment)
Code :
Line 303 in 6f65129
Types :
Line 74 in 87b9543
awwright commented
@ThibaudAV Can you please provide some example code with the expected and actual output?
As far as I know, the validator passes the relevant tests, but I need to see the exact context.