Skip to content

Zod for Validation #480

Answered by ggurkal
ChristoRibeiro asked this question in Q&A
Sep 21, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hey @ChristoRibeiro

It sure is possible. The only thing you need is a validation pipe that uses zod (the original one is here), or you can take some inspiration from https://github.com/kbkk/abitia/tree/master/packages/zod-dto how to do it with DTOs.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ChristoRibeiro
Comment options

@Yhozen
Comment options

Answer selected by ChristoRibeiro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #479 on September 22, 2022 10:02.