hono
hono copied to clipboard
Proposal: Auto validation and auto data clean during return value
What is the feature you are proposing?
We worked with fastapi and pydantic and one of best feature is that, we just pass schema, and response one, and themselves validate schema and clean data response, it will be really good to just pass without everything call zod to check in each request
Hi @wogno, thank you for the proposal.
I think this is related to https://github.com/honojs/hono/pull/3843 and https://github.com/honojs/middleware/pull/184. Right?
Exactly it is that.