Skip to content

refactor(NODE-3157)!: update find and modify interfaces for 4.0 #2796

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

Closed

Conversation

dariakp
Copy link
Contributor

@dariakp dariakp commented May 3, 2021

Description

What changed?
NODE-3157 Updated public facing option interfaces for find and modify operations: findOneAndDelete(), findOneAndReplace(), findOneAndUpdate().

BREAKING: Legacy fields option no longer supported, use projection instead.

@dariakp dariakp force-pushed the NODE-3157/update-find-and-modify-interfaces-for-4.0 branch from 8b2f6d0 to b75125a Compare May 3, 2021 22:04
@dariakp dariakp changed the base branch from 3.6 to 4.0 May 3, 2021 22:04
@dariakp
Copy link
Contributor Author

dariakp commented May 3, 2021

Reviewers: please look over the comments marked "TODO" in find_and_modify.ts, we should come to an agreement on standardization before this can be merged.

@dariakp dariakp requested review from a team, durran, emadum and nbbeeken and removed request for a team May 3, 2021 22:07
@dariakp
Copy link
Contributor Author

dariakp commented May 6, 2021

Closed in favor of #2799

@dariakp dariakp closed this May 6, 2021
@dariakp dariakp deleted the NODE-3157/update-find-and-modify-interfaces-for-4.0 branch May 6, 2021 22:19
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.

1 participant