Skip to content

Commit 2256838

Browse files
committed
fixed README
1 parent 35ea682 commit 2256838

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
- [x] support [yup](https://github.com/jquense/yup)
88
- [x] support [zod](https://github.com/colinhacks/zod)
9+
- [x] support [myzod](https://github.com/davidmdm/myzod)
910

1011
## Quick Start
1112

@@ -29,9 +30,9 @@ generates:
2930
schema: yup # or zod
3031
```
3132
32-
You can check [example directory](https://github.com/Code-Hex/graphql-codegen-typescript-validation-schema/tree/main/example) if you want to see more complex config example or how is generated some files.
33+
You can check [example](https://github.com/Code-Hex/graphql-codegen-typescript-validation-schema/tree/main/example) directory if you want to see more complex config example or how is generated some files.
3334
34-
...And I wrote some tips in there.
35+
The Q&A for each schema is written in the README in the respective example directory.
3536
3637
## Config API Reference
3738
@@ -41,7 +42,7 @@ type: `ValidationSchema` default: `'yup'`
4142

4243
Specify generete validation schema you want.
4344

44-
You can specify `yup` or `zod`.
45+
You can specify `yup` or `zod` or `myzod`.
4546

4647
```yml
4748
generates:
@@ -207,3 +208,7 @@ export function ExampleInputSchema(): z.ZodSchema<ExampleInput> {
207208
})
208209
}
209210
```
211+
212+
#### other schema
213+
214+
Please see [example](https://github.com/Code-Hex/graphql-codegen-typescript-validation-schema/tree/main/example) directory.

0 commit comments

Comments
 (0)