Skip to content

feature: can it be standard schema complaint ? #2646

Closed as not planned
Closed as not planned

Description

@rishatiwari

Description

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.

Activity

  1. added
    type: feature
    flag: needs discussion
    on Nov 26, 2025
  2. gotenxds commented on Dec 16, 2025

    @gotenxds

    #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.

  3. braaar commented on Feb 25, 2026

    @braaar
    Member

    @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

  4. github-actions commented on Mar 28, 2026

    @github-actions

    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.

  5. locked as resolved and limited conversation to collaborators on Mar 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    flag: needs discussiontype: feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions