Replies: 1 comment 1 reply
-
You can certainly switch it out in your code if you want. We don't use zod anywhere internally. Suretype looks nice, just not as full featured as Zod. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I came across this package today:
https://github.com/grantila/suretype
would be worth measuring how faster it can make blitz API if zod is swapped for suretype.
Definetely seems like it could be a lot faster for non trivial shapes of data. In this bench https://github.com/grantila/suretype/blob/master/benchmark/index.ts zod is 2568x slower.
Is there a benchmark in blitz where we could measure this?
Beta Was this translation helpful? Give feedback.
All reactions