We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.2.12
Darwin 23.1.0 arm64 arm
set NODE_ENV=production make a request to an API with a required field, it will not display summary
Display detailed error why something failed
{ "type": "validation", "on": "params", "summary": "Expected string length greater or equal to 10", "property": "/fieldname", "message": "Expected string length greater or equal to 10", "expected": { "fieldname": "somevalue" }, "found": { "fieldname": "a" }, "errors": [ { "summary": "Expected string length greater or equal to 10", "type": 52, "schema": { "minLength": 10, "default": "somevalue", "type": "string" }, "path": "/fieldname", "value": "a", "message": "Expected string length greater or equal to 10", "errors": [] } ] }
{ "type": "validation", "on": "params", "found": { "fieldname": "a" } }
No response
node_modules
bun.lockb
yes
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Elysia is running?
1.2.12
What platform is your computer?
Darwin 23.1.0 arm64 arm
What steps can reproduce the bug?
set NODE_ENV=production
make a request to an API with a required field, it will not display summary
What is the expected behavior?
Display detailed error why something failed
What do you see instead?
{
"type": "validation",
"on": "params",
"found": {
"fieldname": "a"
}
}
Additional information
No response
Have you try removing the
node_modules
andbun.lockb
and try again yet?yes
The text was updated successfully, but these errors were encountered: