Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

Conversation

@Anemy
Copy link
Member

@Anemy Anemy commented Aug 3, 2020

COMPASS-4345

This PR adds the method findOneAndUpdate to the data service so that compass-crud can use it. Previously we were using findOneAndUpdate. We're switching to findOneAndUpdate to provide a better experience to the user in the cases where a document was modified in the background between when they were shown the document and they perform updates.

Copy link
Contributor

@mcasimir mcasimir left a comment

Choose a reason for hiding this comment

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

👍

@Anemy Anemy merged commit 3402949 into master Aug 3, 2020
@Anemy Anemy deleted the COMPASS-4345/add-find-one-and-update branch August 3, 2020 09:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants