-
It looks like integer types are converted into Code within Given that It looks like I can't get the desired result with I'm not sure what I would expect the solution to be, perhaps either:
Thanks as always for your work on this project. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Yeah, the issue is that JavaScript's safe integers are greater than int32 but lesser than int64. Not sure yet how to correct it for this case. I will check it out a bit later (trying to adopt zod 4) — there will be no such issue. |
Beta Was this translation helpful? Give feedback.
-
Check out the suggested approach, @crgeary : #2641 Depending on Would that suit your needs? |
Beta Was this translation helpful? Give feedback.
Check out the suggested approach, @crgeary : #2641
Depending on
numericRange
it can be eitherint32 | int64 | undefined
.Would that suit your needs?