Skip to content

Improve the validation error message #428

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2025
Merged

Conversation

minhtungo
Copy link
Contributor

Current it doesn't show what fields has errors

"Invalid input: Expected number, received string",

This is what it is returning now:
"Invalid input (2 errors): body.vendorId: Required; body.quantity: Expected number, received string"

Current it doesn't show what fields has errors
@edwinhern edwinhern merged commit 5c61126 into edwinhern:master Jul 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants