You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feature: can it be standard schema complaint ? #2646
I want to use class validator with hono-openapi lib to auto generate open api schema but class validator is not complaint with https://standardschema.dev/
Proposed solution
There should be a way to generate string schema. I can contribute if some one guide me.
Unfortunately it seems like this is not going to happen anytime soon, @braaar@NoNameProvided it would be a good last feature to add here before leaving this project for good as it will allow Nest to support standard schema without introducing a breaking change and allow a smooth transition to other validation libraries.
@gotenxds NestJS is already adding support for it with a new ValidationPipe that is opt in. If they do a major version bump they could choose to make that the standard validation pipe. Wouldn't it be a breaking change anyway f we were to implement support for it?
I closed the other issue on this since I don't quite see the usefulness of putting in the work for this feature when there are other libraries that are better choices under that paradigm.
Activity
gotenxds commentedon Dec 16, 2025
#2588
Unfortunately it seems like this is not going to happen anytime soon, @braaar @NoNameProvided it would be a good last feature to add here before leaving this project for good as it will allow Nest to support standard schema without introducing a breaking change and allow a smooth transition to other validation libraries.
braaar commentedon Feb 25, 2026
@gotenxds NestJS is already adding support for it with a new ValidationPipe that is opt in. If they do a major version bump they could choose to make that the standard validation pipe. Wouldn't it be a breaking change anyway f we were to implement support for it?
I closed the other issue on this since I don't quite see the usefulness of putting in the work for this feature when there are other libraries that are better choices under that paradigm.
see #2577
github-actions commentedon Mar 28, 2026
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.