-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add option for generate original type too #107
Comments
I needed the same thing. I opened a PR #109 |
This comment was marked as spam.
This comment was marked as spam.
@anhdd-kuro Thanks for your suggestion! Previously, I closed the suggestion #20 this was because fragment support was likely to take time. I'd be happy to merge this and any other correspondence if someone could help me with this! |
I'm watching @Brian-McBride PR #109 |
@Brian-McBride @anhdd-kuro Thanks for great work!! I've merged PR #132. I will adjust it a little bit and publish it as a new version. |
@anhdd-kuro @Brian-McBride Hi 👋 I just published the latest version v0.6.0 which is included this feature. Thank you! |
I know this plugin produces mutation validators in the first place, but can we have an option for original type as well?
Nowadays we are not only uses zod for mutations, but also validates the data received from the server after fetching.
I know I can just add the ID to the schema using zod's extend, but it would be even more convenient if this plugin could do that.
so I can
The text was updated successfully, but these errors were encountered: