Skip to content

feat: Standard Schema validation #963

Open
@sandros94

Description

@sandros94

Describe the feature

Considering that Standard Schema reached a stable release and it is gaining more and more traction, what are the plans for getValidatedQuery, getValidatedRouterParams and readValidatedBody?

It would be nice to support Standard Schema natively so that developers are free to use their own validation library without creating a dedicated adapter for each, nor a custom function returning a boolean as it currently is for validateData.

This can be implemented without introducing additional dependencies and, in theory, without breaking changes

Additional information

  • Would you be willing to help implement this feature?

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions