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

feat(NODE-4871): Add support for int64 deserialization to BigInt #542

Merged
merged 20 commits into from
Jan 4, 2023

Conversation

W-A-James
Copy link
Contributor

@W-A-James W-A-James commented Dec 15, 2022

Description

What is changing?

Adding capability to deserialize BSON Long to BigInt

Is there new documentation needed for these changes?

Yes. Documentation changes in README and inline docs

What is the motivation for this change?

Allow users to make use of native Javascript BigInts instead of BSON.Long

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests

@W-A-James W-A-James marked this pull request as ready for review December 15, 2022 19:08
@W-A-James W-A-James requested a review from nbbeeken December 15, 2022 19:08
src/parser/deserializer.ts Outdated Show resolved Hide resolved
test/node/bigint.test.ts Outdated Show resolved Hide resolved
test/node/bigint.test.ts Outdated Show resolved Hide resolved
@W-A-James W-A-James requested a review from nbbeeken December 30, 2022 17:59
test/node/bigint.test.ts Outdated Show resolved Hide resolved
test/node/bigint.test.ts Show resolved Hide resolved
@W-A-James W-A-James requested a review from nbbeeken January 3, 2023 16:18
Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

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

last comment sorry teeny fmt fix

src/parser/deserializer.ts Outdated Show resolved Hide resolved
@nbbeeken nbbeeken added the Team Review Needs review from team label Jan 3, 2023
@W-A-James W-A-James requested a review from nbbeeken January 3, 2023 19:18
nbbeeken
nbbeeken previously approved these changes Jan 3, 2023
@W-A-James W-A-James requested a review from nbbeeken January 4, 2023 15:32
@nbbeeken nbbeeken merged commit 9ff60ba into main Jan 4, 2023
@nbbeeken nbbeeken deleted the NODE-4871/support_bigint_deserialization branch January 4, 2023 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team Review Needs review from team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants