Hi - sorry for no template, didn't think that the other two necessarily fit for a template.
From what I can tell, most of the validation-library-specific @hono/*-validator middlewares are no longer necessary to be maintained, since almost all use cases can be transferred to @hono/standard-validator instead. (maybe some people rely on throw parsing on the Zod validator instead of non-throw parsing, so that may need to be implemented first, just as a counter-example). So, I propose that those validators be deprecated with a recommendation to use the Standard Validator instead, and the docs on validation also be updated to mention that it is recommended to use the Standard Validator instead of the individual Zod, Valibot or ArkType validators.
The benefits from doing this move (that I could see) are:
- Less maintenance overhead (each validator would need a test suite and someone maintaining it)
- Consolidation (most library-specific middlewares do the same thing)
Hi - sorry for no template, didn't think that the other two necessarily fit for a template.
From what I can tell, most of the validation-library-specific
@hono/*-validatormiddlewares are no longer necessary to be maintained, since almost all use cases can be transferred to@hono/standard-validatorinstead. (maybe some people rely on throw parsing on the Zod validator instead of non-throw parsing, so that may need to be implemented first, just as a counter-example). So, I propose that those validators be deprecated with a recommendation to use the Standard Validator instead, and the docs on validation also be updated to mention that it is recommended to use the Standard Validator instead of the individual Zod, Valibot or ArkType validators.The benefits from doing this move (that I could see) are: