This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 160
BigInt is not supported for output validation #264
Labels
help wanted
Extra attention is needed
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
not completed |
If anything I'd do something like this in the output: type BigIntString = string & z.BRAND<'BigInt'>;
z.bigint().transform(v => v.toString() as BigIntString); |
I have a similar requirement. Using Here is what I get: "amount": {
"type": "integer",
"format": "int64"
} Edit: Here is a potential solution to fix the openapi document response definition: #439 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have code with the following output validator:
Which gives me a "500 Internal Server Error".
However, using,
Works fine.
The text was updated successfully, but these errors were encountered: