balderdashy / waterline-docs

WARNING: The content in this repo is out of date! See https://github.com/balderdashy/sails-docs for the most up-to-date documentation
452 stars 161 forks source link

Missing documentation in Validations #139

Open nemani opened 7 years ago

nemani commented 7 years ago

Neither https://github.com/balderdashy/waterline-docs/blob/master/models/validations.md nor https://github.com/balderdashy/sails-docs/blob/master/concepts/ORM/Attributes.md give any examples or mention if we can use nested data types or not. In addition nowhere on Stack Overflow, is this question answered.

BUT, the readme for anchor states that

but goes a step further by adding support for array and object sub-validation

Is it supported or not? Please fix this mistake. Thanks :)