How to use Validator ? Context is not finalized
As soon as I try to use validator, Hono complains.
api-hono:dev: error: Context is not finalized. Did you forget to return a Response object or
Any idea? :\
EDIT:
I'm using Superforms to send the request. Devtool says the data it is indeed Form Data.
If I replace form with json, it doesnt throw the error, but the value is empty
api-hono:dev: error: Context is not finalized. Did you forget to return a Response object or
await next()?Any idea? :\
EDIT:
I'm using Superforms to send the request. Devtool says the data it is indeed Form Data.
If I replace form with json, it doesnt throw the error, but the value is empty