-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for non-input types? #558
Comments
I would also greatly appreciate this. We have some generic functions that cache data returned from GQL queries, and want to make this as safe as possible, which entails parsing the cached data with |
@markandrus @efstajas Wouldn't graphql-codegen-typescript-validation-schema/tests/zod.spec.ts Lines 765 to 808 in 3a49a55
|
I close this issue because inactive. Please open again if you need anything else. |
I tried this out and, if I'm not mistaken, it only generates schemas (in my case, zod schemas) for input types. I would like to use this with non-input types as well (for example, to parse some JSON and ensure it adheres to the correct GraphQL type).
The text was updated successfully, but these errors were encountered: