acikyazilimagi / acikyazilimagi/afetlojistik-backend

Update validation error messages for readability

Open
#149 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
11
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Current example:
`{
"code": -2,
"error": "ValidationError",
"message": "products::index0 -> categoryId must be a mongodb id,categoryId should not be empty",
"details":
{
"messages": ["products::index0 -> categoryId must be a mongodb id,categoryId should not be empty"],
"path": "products"
}
}`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.