-
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
Handle $type
aggregation operator errors properly
#2829
Handle $type
aggregation operator errors properly
#2829
Conversation
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2829 +/- ##
==========================================
- Coverage 63.65% 59.20% -4.45%
==========================================
Files 447 448 +1
Lines 22747 22818 +71
==========================================
- Hits 14480 13510 -970
- Misses 7309 8315 +1006
- Partials 958 993 +35
... and 48 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
@noisersup this pull request has merge conflicts. |
@noisersup this pull request has merge conflicts. |
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.
Let's add integration tests for newly added error messages 🤗
internal/handlers/common/aggregations/operators/operators_errors.go
Outdated
Show resolved
Hide resolved
internal/handlers/common/aggregations/operators/operators_errors.go
Outdated
Show resolved
Hide resolved
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.
Please see the previous comments, some where not applied, so I think there was some reason that I don't know 🤔
My most important comments are about untested code
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.
Looks good, I left comments unresolved for super minor issues. Great work!
internal/handlers/common/aggregations/stages/projection/projection_iterator.go
Outdated
Show resolved
Hide resolved
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.
🚀
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 #2678.
Readiness checklist
task all
, and it passed.@FerretDB/core
), Labels, Project and project's Sprint fields.