You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most API routes destructure await request.json() and pass values into SQL without type checking, length limits, or schema validation. Adding zod schemas per route would catch malformed requests early and produce better error messages.
Most API routes destructure
await request.json()and pass values into SQL without type checking, length limits, or schema validation. Adding zod schemas per route would catch malformed requests early and produce better error messages.