decs / typeschema

🛵 Universal adapter for TypeScript schema validation.
https://typeschema.com
MIT License
402 stars 13 forks source link

Support synchronous validate #29

Closed Talent30 closed 10 months ago

Talent30 commented 10 months ago

At the moment the the validate function is returning a promise, is there a way to support synchronous validation and rename the current validate function to asyncValidate?