Ryan J
Ryan J
+1. What about adding an `example()` or `sample()` method to joi? Then when lout inspects the routing table and finds validation rules within a route, the `sample()` values can just...
I was trying to work on this yesterday but realized that the "right" way would probably involve some fairly involved re-jiggering. Do you guys have a position on whether or...
Joi will automatically try to do type conversions for you: https://github.com/spumko/joi#skip-conversions
Similar: https://github.com/spumko/lout/issues/40#issuecomment-33958371
Can someone explain the second argument (`true`) to `types.Object` and also `query.__test = true`? I was able to get this working by just unwrapping `query` from `types.Object`: ``` var Hapi...
It's not a problem with `server.inject` - your route configuration is incorrect. If you're uploading a file, your config needs to include `payload` configuration that is not under `validate`. ```...
@LeonardLaszlo mind sharing? I'm seeing a very similar behavior and was wondering if you could help point others in a general direction.
Thanks, @mafintosh !