Skip to content

Standard Schema support #16280

Description

@vkarpov15

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

https://standardschema.dev/schema

Motivation

Got a request for this at an in-person meetup. A good idea - make it easier to reuse Zod etc. schemas for Mongoose or vice versa.

Example

Need to figure this out first, hopefully it would be similar to our existing toJSONSchema() methods, maybe a toStandardSchema() method?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis issue is a user-facing general improvement that doesn't fix a bug or add a new featurenew featureThis change adds new functionality, like a new method or class

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions