Using the following description throws and unexpected error: ``` { "type": "object", "fields": { "testKey": { "type": "object", "required": true, "fields": { "anotherTest": [ { "type": "object", "required": true, "fields": { "testField": { "type": "string", "required": true }, } } ] } } } } ``` `schema.validate({ testKey: {} }, (err, res) => {...` This throws the following error: `Cannot read property 'testField' of undefined` Is there something wrong in the descriptor or is there something else to configure to make this validation work?
Using the following description throws and unexpected error:
schema.validate({ testKey: {} }, (err, res) => {...This throws the following error:
Cannot read property 'testField' of undefinedIs there something wrong in the descriptor or is there something else to configure to make this validation work?