fabian-hiller / valibot

The modular and type safe schema library for validating structural data 🤖
https://valibot.dev
MIT License
6.08k stars 189 forks source link

add `objectAsync` doc & improve `ObjectSchemaAsync` API ref #715

Closed EltonLobo07 closed 3 months ago

EltonLobo07 commented 3 months ago

This PR adds objectAsync and improves ObjectSchemaAsync API refs.

Question: The "Examples" section's description links to the object guide which contains sync examples and explanations. Do you think it is a good idea to add an async guide link too, so that the user is aware of the details related to asynchronous validation while reading the object guide page? Or can we assume that the user knows about async validation making the async guide link unnecessary?