mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-29 11:20:33 +01:00
update recipes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
tRPC works out-of-the-box with yup/superstruct/zod/myzod/custom validators.
|
||||
|
||||
## Input Validation
|
||||
### Input Validation
|
||||
|
||||
```ts
|
||||
// ~/server/trpc/index.ts
|
||||
@@ -24,7 +24,7 @@ export const router = trpc
|
||||
})
|
||||
```
|
||||
|
||||
## Output Validation
|
||||
### Output Validation
|
||||
|
||||
```ts
|
||||
// ~/server/trpc/index.ts
|
||||
|
||||
Reference in New Issue
Block a user