|
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. |
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. |
Check out the suggested approach, @crgeary : #2641
Depending on
numericRangeit can be eitherint32 | int64 | undefined.Would that suit your needs?