Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse big integers as BigInt #145

Closed
adelsz opened this issue Jul 25, 2020 · 5 comments
Closed

Parse big integers as BigInt #145

adelsz opened this issue Jul 25, 2020 · 5 comments

Comments

@adelsz
Copy link
Owner

adelsz commented Jul 25, 2020

Allow parsing big integers into JS BigInt.
This should be exposed as an override-able config option bigInt: bigint | string | number.

@adelsz adelsz added this to the Runtime integration milestone Jul 25, 2020
@adelsz adelsz self-assigned this Jul 25, 2020
@jb-reefer
Copy link

Any way I can help out on this?

@technic
Copy link

technic commented May 26, 2022

Any updates on this? Without this feature I can hardly imagine any use of this library in production.

@karibertils
Copy link

Wondering about this one as well

@roei3000b
Copy link

@adelsz , any update?
And thanks for this package :)

@adelsz
Copy link
Owner Author

adelsz commented Feb 9, 2023

@technic @roei3000b @karibertils @jb-reefer

This is possible in v2.1.0 using a type override.
We now have a test case demonstrating this too: eae091b

There is a section in the docs on this too:
https://pgtyped.vercel.app/docs/typing

@adelsz adelsz closed this as completed Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants