-
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
Use one implementation for finding path values #3087
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3087 +/- ##
==========================================
- Coverage 75.62% 75.08% -0.54%
==========================================
Files 393 395 +2
Lines 21968 21953 -15
==========================================
- Hits 16613 16484 -129
- Misses 4390 4510 +120
+ Partials 965 959 -6
... and 17 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
(please review, but don't merge yet) |
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 my past experience with path-related code, the implementation looks clear to me. Asked a couple of questions where I'm not sure.
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.
Overall it seems that it handles existing logic and it's great that we merge all of those functions into the single one with options
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
…etDB into issue-2348-get-path-value
@chilagrow 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.
In addition to the changes, I also like the documentation and examples (e.g. $unwind
). It brings more clarity about how things work and why!
Description
Closes #2348.
I created a new package
commonpath
.Readiness checklist
task all
, and it passed.@FerretDB/core
), Labels, Project and project's Sprint fields.