Uncaught (in promise) Error: options.0 must be set
at validate (validation.js?9521:42:1)
at new ApiClient (endpoints.js?7cbd:91:1)
...
A code for validating object type in array schema seems not working correctly.
schema is array and it looks like ['object', {...}], so we need to use subSchema to check each attributes and to call validation method recursively.
I also think, need some test code for that complex method if possible.
Hi, I got below error during initialize ApiClient
A code for validating
object
type in array schema seems not working correctly.schema
is array and it looks like['object', {...}]
, so we need to use subSchema to check each attributes and to call validation method recursively.I also think, need some test code for that complex method if possible.