-
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
Fix _id
formatting in update error messages
#2711
Conversation
ObjectID
formatting in update error messages_id
formatting in update error messages
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2711 +/- ##
===========================================
- Coverage 62.67% 26.32% -36.36%
===========================================
Files 435 435
Lines 22378 22378
===========================================
- Hits 14026 5890 -8136
- Misses 7425 15882 +8457
+ Partials 927 606 -321
... and 141 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
Nice catch!
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.
Description
In some places in update we return raw
_id
data from the document, which results in UTF-8 parsing when_id
is theObjectID
:After this PR:
Readiness checklist
task all
, and it passed.@FerretDB/core
), Labels, Project and project's Sprint fields.