-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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-4925)!: remove deprecated options and types #3513
Conversation
b1b2043
to
f061d85
Compare
f061d85
to
b98e029
Compare
@@ -670,21 +670,7 @@ describe('CRUD API', function () { | |||
// Legacy update method | |||
// ------------------------------------------------- | |||
const legacyRemove = function () { | |||
db.collection('t4_1').insertMany( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the single
option necessitates refactoring this test to use deleteOne
. There is already a test for deleteOne
specifically, and we're removing remove
in another PR, so removing this block of code felt like the correct approach.
@@ -107,52 +107,6 @@ describe('Remove', function () { | |||
} | |||
}); | |||
|
|||
it('should correctly remove only first document', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to above, removing single
means this test no longer passes. To make this test pass, we would rework it to use deleteOne
, but deleteOne
is tested elsewhere.
Co-authored-by: Neal Beeken <neal.beeken@mongodb.com>
not sure why the patch isn't being picked up - it's here https://spruce.mongodb.com/version/63b6e8e3a4cf470aa9f8def7/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC |
Description
What is changing?
This PR removes the following deprecated options and types:
Is there new documentation needed for these changes?
No.
Double check the following
npm run check:lint
scripttype(NODE-xxxx)[!]: description
feat(NODE-1234)!: rewriting everything in coffeescript