drahak / Restful

Drahak\Restful - Nette REST API bundle
0 stars 0 forks source link

Better Input validation - addCondition, conditionOn,... #105

Open marten-cz opened 8 years ago

marten-cz commented 8 years ago

Would it be possible to to add similar functionality as it's on Nette forms? It will be nice to have condition method, i.e. to validate 'from' and 'to' values, where to should be greater than 'from'. Now it's only possible to do that in action.

It can be handled with addCondition() or to receive all values to custom addRule(). conditionOn would be nice too.

vnenkpet commented 8 years ago

+1