Skip to content

fix: Throw error on bigint usage and add helpers to Long#426

Merged
nbbeeken merged 1 commit into
1.0-branchfrom
NODE-2378/add-bigint-error
Mar 9, 2021
Merged

fix: Throw error on bigint usage and add helpers to Long#426
nbbeeken merged 1 commit into
1.0-branchfrom
NODE-2378/add-bigint-error

Conversation

@nbbeeken
Copy link
Copy Markdown
Contributor

@nbbeeken nbbeeken commented Mar 2, 2021

Adds helpers toBigInt and fromBigInt to the Long class to help
support 64bit values. Throws an error when bigint is attempted to
be serialized.

NODE-2378

@nbbeeken nbbeeken requested review from durran and emadum March 2, 2021 22:07
Adds helpers toBigInt and fromBigInt to the Long class to help
support 64bit values. Throws an error when bigint is attempted to
be serialized.

NODE-2378
@nbbeeken nbbeeken force-pushed the NODE-2378/add-bigint-error branch from 47935a8 to d51cee0 Compare March 2, 2021 22:22
Copy link
Copy Markdown
Contributor

@emadum emadum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Copy Markdown
Contributor

@durran durran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nbbeeken nbbeeken merged commit 375f368 into 1.0-branch Mar 9, 2021
@nbbeeken nbbeeken deleted the NODE-2378/add-bigint-error branch March 9, 2021 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants