Skip to content

Commit

Permalink
Merge pull request #111 from sinh117801/master
Browse files Browse the repository at this point in the history
Update Readme.md
  • Loading branch information
chrishoermann committed Mar 27, 2023
2 parents f51b86a + a1744df commit b64e5a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ To add custom validators to the prisma `BigInt` field you can use the `@zod.bigi

```prisma
model MyModel {
myField BigInt /// @zod.bigintlt(5n, { message: "lt error" }).gt(6n, { message: "gt error" })({ invalid_type_error: "error", ... }).[...chain more validators]
myField BigInt /// @zod.bigint.lt(5n, { message: "lt error" }).gt(6n, { message: "gt error" })({ invalid_type_error: "error", ... }).[...chain more validators]
}
```

Expand Down

0 comments on commit b64e5a0

Please sign in to comment.