ealush / vest

Vest ✅ Declarative validations framework
https://vestjs.dev/
MIT License
2.57k stars 85 forks source link

minor(vest): staticSuite returns a promise #1144

Closed ealush closed 4 months ago

ealush commented 4 months ago

This change makes it so that when we use staticSuite, it actually returns a promise, so that we can directly await its response, without needing to use .done.

      await suite.runStatic();
vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 15, 2024 10:41pm
vest-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 15, 2024 10:41pm