Veli Pehlivanov
Veli Pehlivanov
@pashoo2 Nice work adding async support in your fork. However, as the primary goal of JSEN is performance, async validation is not in the scope of the project. Further, I...
We need more use cases for that and additional research on the optimal approach for asynchronous execution. I'm adding this as a planned feature for v0.4.0, but want to hear...
Can you, please, provide more details for these two bugs? In the first case, I can't see anything wrong with the validation. `obj1` is valid, because you don't specify a...
Custom formats are different. They are run for all types (I have a [test](https://github.com/bugventure/jsen/blob/master/test/format.js#L210) that covers this scenario). Note, however, that custom format validators are run after all built-in keyword...
You use `_messages` in the schema, but `_m` in the validated object.
Sample API: ``` javascript var validate = jsen({ type: 'object', properties: { id: { type: 'integer', source: 'params.id' }, firstName: { type: 'string', source: 'body.firstName' }, lastName: { type: 'string',...
@seeden I'd like to elaborate more on this feature, so feel free to share your thoughts as well. Basically, I'm envisioning some simple data collection mechanism where you can easily...