Skip to content

Conversation

@colinhacks
Copy link
Contributor

  • Add Zod 4 test case

Description

Adding a test case for Zod 4. The beta period for Zod may be a while and the full transition from Zod 3 -> Zod 4 will be far longer, so I figured it might make sense to include both during the transitionary period.

Testing

Added zod4 test case. Used a npm: prefix to install v3 and v4 simultaneously. Running the Zod 4 benchmark succeeds.

Checklist

  • Conducted a self-review of the code changes.
  • Updated documentation, if necessary.
  • Added tests to validate the functionality or fix.

@DarkGL
Copy link
Collaborator

DarkGL commented Apr 11, 2025

@colinhacks
Copy link
Contributor Author

Added to benchmarks.test.ts. It was already added to cases/index.ts. Let me know if there's anything else 👍

@DarkGL DarkGL merged commit 6a8ebbd into moltar:master Apr 14, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants