-
Notifications
You must be signed in to change notification settings - Fork 10
Safer product_query construction
#205
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
Safer product_query construction
#205
Conversation
product_query construction.product_query construction
|
@wlav, this PR should help avoid the problem you ran into. Alas, the default This is not an urgent PR. |
f8999e2 to
3bb9231
Compare
Codecov Report❌ Patch coverage is
❌ Your project status has failed because the head coverage (76.33%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage. @@ Coverage Diff @@
## main #205 +/- ##
==========================================
- Coverage 76.38% 76.33% -0.06%
==========================================
Files 124 124
Lines 2731 2725 -6
Branches 475 475
==========================================
- Hits 2086 2080 -6
+ Misses 449 447 -2
- Partials 196 198 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
274bd88 to
16a9c43
Compare
beojan
left a comment
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.
Can't see any issues.
Also switch to using default comparisons
16a9c43 to
f627887
Compare
Either default-construct
product_queryor require the constructor with both theproduct_specificationand thelayerargument.Also switch to using default comparisons