Skip to content

Conversation

@rafahop
Copy link
Contributor

@rafahop rafahop commented Jan 26, 2023

What

Add new ReplaceOne function to replace a single document, as opposed to Update which updates fields.
Amend existing unit tests to ensure fields not present in the update document aren't affected with an update operation wheres they are gone with a replace

How to review

Check changes make sense, follow standards and tests coverage is sufficient

Who can review

Anyone

@rafahop rafahop changed the title Add Replace function Add ReplaceOne function Feb 9, 2023
@cookel2 cookel2 self-requested a review February 9, 2023 19:05
Copy link
Contributor

@cookel2 cookel2 left a comment

Choose a reason for hiding this comment

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

looks good to me and tests pass in my local env.

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