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
My hook isn't calling for some reason:
function parseValidationError(result, context) { console.log({ result, context }); } app.post('/endpoint',tbValidator( 'json', t.Object({ user: tNewUser, role: tCompanyRole, company: t.String() }), parseValidationError), async (c) => { ... return c.json({ ... }); }
When I send invalid data to /endpoint I'm expecting it to log, am I doing something wrong? It's responding to the client with the ValueError[]
/endpoint
ValueError[]
"@hono/typebox-validator": "0.2.4", "hono": "4.5.11",
The text was updated successfully, but these errors were encountered:
HI @Micnubinub
@curtislarson Can you take a look at this?
Sorry, something went wrong.
Any update on this?
No branches or pull requests
My hook isn't calling for some reason:
When I send invalid data to
/endpoint
I'm expecting it to log, am I doing something wrong? It's responding to the client with theValueError[]
The text was updated successfully, but these errors were encountered: