update validation readme

This commit is contained in:
Robert Soriano
2022-05-18 09:29:47 -07:00
parent 6f1fc6a996
commit 5bd43a54e5
2 changed files with 54 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
## Validation
tRPC works out-of-the-box with yup/superstruct/zod/myzod/custom validators. Learn more about input validation [here](https://trpc.io/docs/router#input-validation).
tRPC works out-of-the-box with yup/superstruct/zod/myzod/custom validators.
## Input Validation
@@ -45,3 +45,5 @@ export const router = trpc
},
})
```
Learn more about input validation [here](https://trpc.io/docs/router#input-validation).