Refactor action and route handlers to use async schema validation (#361)

- Removed the `zodParseFactory` utility and replaced it with direct async schema validation using `safeParseAsync` in both `enhanceAction` and `enhanceRouteHandler`.
- Improved error handling to return meaningful messages for invalid request bodies.
- Streamlined the codebase by deleting the now-unnecessary `utils/index.ts` file.
This commit is contained in:
Giancarlo Buomprisco
2025-09-25 22:16:31 +08:00
committed by GitHub
parent 2b8572baaa
commit 3c13b5ec1e
4 changed files with 25 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "next-supabase-saas-kit-turbo",
"version": "2.15.0",
"version": "2.15.1",
"private": true,
"sideEffects": false,
"engines": {