-
Notifications
You must be signed in to change notification settings - Fork 409
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
Allow $set
operator to update _id
#3009
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3009 +/- ##
===========================================
- Coverage 76.25% 51.19% -25.07%
===========================================
Files 385 385
Lines 21060 21042 -18
===========================================
- Hits 16060 10773 -5287
- Misses 4076 9533 +5457
+ Partials 924 736 -188
... and 123 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
$set
operator for updating _id
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.
I understand why you changed these functions the way you did, but I think we need to find a better design as the current approach is too confusing with having extra params that are needed only once and for a particular case. I don't have a clear idea of a better design, but I'm available for pair programming.
$set
operator for updating _id
$set
operator to update _id
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.
Based on the number of things that need to be done for refactoring, I think the current simple solution is the best choice to solve the exact blocker quickly!
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.
should be reopened, incomplete fix see #2803 (comment) |
Description
Closes #2803.
Scope changed, because of #3013 we decided to remove validation.
Readiness checklist
task all
, and it passed.@FerretDB/core
), Labels, Project and project's Sprint fields.