ecyrbe / zodios

typescript http client and server with zod validation
https://www.zodios.org/
MIT License
1.58k stars 44 forks source link

Surface body validation errors #607

Open Faithfinder opened 1 month ago

Faithfinder commented 1 month ago

Currently, zodios masks zod errors for parameters. This is all fine and dandy for most of them, where parameter name points to the error well enough. However, for body, which can be a fairly complex object, Invalid Body parameter 'body' is very unhelpful.

iknowhtml commented 2 weeks ago

I want to +1 this issue. I also experienced this and it made debugging the error challenging