Validating properties of a object or a nested object in a request is necessary in some use cases. It would be better if the validate middleware has these capability. I propose a conventional syntax for validating object's properties.
If the proposal is approved, I am willing to update the README.
@buunguyen. Thank for your review. I have improved PR following your suggestions and also updated README. Looking forward to hearing feedback from you.
Validating properties of a object or a nested object in a request is necessary in some use cases. It would be better if the
validate
middleware has these capability. I propose a conventional syntax for validating object's properties.If the proposal is approved, I am willing to update the README.