-
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
Cleanup $bit
update operator
#3315
Cleanup $bit
update operator
#3315
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3315 +/- ##
==========================================
+ Coverage 74.03% 74.19% +0.16%
==========================================
Files 400 400
Lines 23995 23970 -25
==========================================
+ Hits 17764 17785 +21
+ Misses 5146 5105 -41
+ Partials 1085 1080 -5
Flags with carried forward coverage won't be shown. Click here to find out more. |
$bit
update operator$bit
update operator
Reorganised code and removed unreachable code, this increased test coverage too. https://app.codecov.io/gh/FerretDB/FerretDB/pull/3315/blob/internal/handlers/common/update.go#L757 |
👋 @adetunjii I reorganised the code and also added tests for each BSON type. |
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.
LGTM!
Description
Closes #821.
Readiness checklist
task all
, and it passed.@FerretDB/core
), Milestone (Next
), Labels, Project and project's Sprint fields.