Closed caoxing9 closed 10 months ago
Hello! There is currently no way to tell Zod that a string contains binary, so there's nothing I can do.
However, I have opened a PR for base64 validation in Zod exactly due to this issue.
https://github.com/colinhacks/zod/pull/3047
Closing this as a duplicate of #95
Hello! There is currently no way to tell Zod that a string contains binary, so there's nothing I can do.
However, I have opened a PR for base64 validation in Zod exactly due to this issue.
Closing this as a duplicate of #95
thanks for replying, looking forward...
I have a binary file field i use z.string() to express so i get the json is that
but i expect to get with format: binary like this, what can i do for it?