Repository navigation
Simplify filtering - #187
edan-bainglass wants to merge 1 commit into
Conversation
| _GENERAL_OPS = { | ||
| '==', | ||
| '!==', | ||
| 'eq', |
There was a problem hiding this comment.
This is the only one I'm not sure about. It is here to support [field][~eq]=, as [field][eq]= is just [field]=. Alternatively, we can instead support [field][ne] only, but it is unclear which direction is best. I keep it as is for now.
| ) | ||
|
|
||
|
|
||
| class Include(pdt.BaseModel): |
There was a problem hiding this comment.
Just reordering the classes.
5fbc83e to
3b279e7
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (68.06%) is below the target coverage (85.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## disable-graph-ql #187 +/- ##
====================================================
+ Coverage 67.90% 68.06% +0.15%
====================================================
Files 55 55
Lines 2153 2151 -2
====================================================
+ Hits 1462 1464 +2
+ Misses 691 687 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Replace comparison operators with named ones to avoid custom URL parsing. Same reasoning for replacing ! with ~ for negation.
3b279e7 to
ab4fa15
Compare
This PR removes the need for tricky custom logic to handle URL-reserved chars by replacing numeric operations with named ones, as well as replacing the negation operator with a URL-"safe" one.
For example
is now
This addresses some comments made on #157 and #185.