Repository navigation
🐞 Bug Fixes
⚠️ Default behavior change
On input validation errors (BAD_REQUEST), each issue in error.data.issues now keeps only message and path, and object path segments become { key }. Before, the raw Standard Schema issues were sent as is, including fields like Zod's code and the input itself in Valibot and ArkType issues. RequestValidationPlugin on the client sends the same shape.
No public API or types change, but code that reads other issue fields from error.data.issues (for example on the client) will no longer find them.
The full issues are still on error.cause.issues on the server. To send another shape, rethrow the error in a client interceptor or middleware, see Validation Errors.