tgriesser / checkit

simple, flexible validations for node and the browser
MIT License
223 stars 53 forks source link

Is there a way to send arrays as parameters for custom validator? #81

Closed vasanthpandia closed 7 years ago

vasanthpandia commented 7 years ago

Right now a custom validator can be called with params email: ['email', 'unused:accounts:email'] . In this I need to be passing an array of fields like email: ['email', 'unused:['field1', 'field2', 'field2']:email']?