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

BigInt for long #48

Open
emilbayes opened this issue Oct 16, 2019 · 1 comment
Open

BigInt for long #48

emilbayes opened this issue Oct 16, 2019 · 1 comment

Comments

@emilbayes
Copy link

Hi!

Can I choose a custom serializer/deserializer for data types? I'm specicially wanting longs to be represented as JS native BigInt type. I'm also happy to provide a PR if this is something you'd want in the module

@michaelwittig
Copy link
Owner

Hi!

We only have the long2number setting to represent longs as https://www.npmjs.com/package/long

Since we now have BigInt your suggestion makes a lot of sense to use them.

PR is welcome. If possible, the changes should be backward compatible.

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

2 participants