-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Hey,
When I create a simple anonymous schema (without an explicit "id"), I've got to call its validate function with a fake "0" as the schema name. Could this implementation detail be hidden to just allow calling the function with an object and without a name?
var validate = Themis.validator(schema)
validate({}, "0")Thanks!
Reactions are currently unavailable