fabian-hiller / valibot

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

Add the `omit` async method. #901

Closed devcaeg closed 3 weeks ago

devcaeg commented 3 weeks ago

Valibot currently has the omit method but does not have the omitAsync method. In a project, I would need to use omitAsync to omit keys from an objectAsync.

fabian-hiller commented 3 weeks ago

omit is able to handle async schemas and does not require an additional async implementation.

devcaeg commented 3 weeks ago

Right, my mistake completely.