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

fix(NODE-3815): update Decimal128 constructor validation #476

Merged

Conversation

syz99
Copy link
Contributor

@syz99 syz99 commented Dec 16, 2021

Description

What is changing?

Add new checkings/exceptions for invalid types

Is there new documentation needed for these changes?

n/a

Double check the following

  • Ran npm run lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: <type>(NODE-xxxx)<!>: <description>
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@syz99 syz99 self-assigned this Dec 16, 2021
@syz99 syz99 requested review from nbbeeken, dariakp and baileympearson and removed request for nbbeeken and dariakp December 16, 2021 21:26
test/node/decimal128_tests.js Outdated Show resolved Hide resolved
test/node/decimal128_tests.js Show resolved Hide resolved
src/bson.ts Outdated Show resolved Hide resolved
@nbbeeken nbbeeken added the Team Review Needs review from team label Dec 20, 2021
nbbeeken
nbbeeken previously approved these changes Dec 20, 2021
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.

lgtm 👍

test/node/decimal128_tests.js Outdated Show resolved Hide resolved
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
4 participants