go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

Type Error Message Show More Detail In API Response

Open lxy1992 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. Its not a problem, but a inconvenient. The 400 error message about mismatch type, only shows the name of this error type without the right type info, which require a double check in API doc.

Describe the solution you'd like I would like to return the name of the right type and wrong type, which could help front developers fix the problem faster.

Describe alternatives you've considered Nope

Additional context Nope

Progress

I am start to working on it, First to introduce this error message in Number Field check, then add it one by one.

lxy1992 avatar Jun 30 '23 09:06 lxy1992