clarkie/dynogels

Disable Schema

Closed this issue · 1 comments

I'm trying to disable schema validation. I tried not setting schema attribute, and setting it to false, but none of this worked. Also tried to set schema to Joi.any(), doesn't work too.

Is there a way to achiev this ?

I've managed to solve it with schema: Joi.object().unknown(), not a intuitive solution, but works.
imho, schema: false would be a better way to allow the functionality.