Skip to content

Commit eb1dc94

Browse files
authored
doc: v2.21.0 release updates (#499)
1 parent 1f444c8 commit eb1dc94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/reference/plugins/zod.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ This plugin is built-in to ZenStack and does not need to be installed separately
158158
| preserveTsFiles | Boolean | If the generated TS files should be preserved (after compiled to JS) | No | false |
159159
| noUncheckedInput | Boolean | Disables schema generation for Prisma's ["Unchecked"](https://github.com/prisma/prisma/discussions/10121#discussioncomment-1621254) input types | No | false |
160160
| mode | String | Controls if the generated schemas should reject, strict, or passthrough unknown fields. Possible values: "strict", "strip", "passthrough" | No | "strict" |
161+
| version | String | The Zod version to target. Possible values: "v3", "v4" | No | "v3" |
161162
162163
:::info
163164
When the `generateModels` option is used to specify a list of models to generate, the plugin will also recursively traverse and include all models that are referenced by the specified models. This can result in more code being generated than you expect.

0 commit comments

Comments
 (0)