Skip to content
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

fix: zod parse async instead of parse + minor dependencies upgrade #2

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

jsanchez-qt
Copy link
Collaborator

I've replaced zod .parse() validation with .parseAsync in createMutationFn and createQueryFn. For current use of this functions there is no breaking change, indeed, these functions are already async. But, with this change, we are allowed to apply asynchronous schema with .transform() or .refine().

@jsanchez-qt jsanchez-qt added the enhancement New feature or request label Jun 13, 2024
@jsanchez-qt jsanchez-qt self-assigned this Jun 13, 2024
@JamesHemery JamesHemery merged commit 92592dd into main Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants