-
-
Notifications
You must be signed in to change notification settings - Fork 158
Filters: allow has() with a condition #986
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
Conversation
/CC @wayne-o because you asked about this in the Gitter chat some time ago. |
@maurei Reverted to Draft, because my code contains a TODO that I still need to investigate. |
Codecov Report
@@ Coverage Diff @@
## master #986 +/- ##
==========================================
+ Coverage 91.26% 91.30% +0.03%
==========================================
Files 281 281
Lines 7429 7463 +34
==========================================
+ Hits 6780 6814 +34
Misses 649 649
Continue to review full report at Codecov.
|
97ca1cc
to
05dc242
Compare
…e has() function. Example: GET /blogs?filter=has(posts,not(equals(url,null)))
…parsers already constrained the input, so API users should not observe any effects of this change.
05dc242
to
ad2625d
Compare
Adds support for an optional condition in the
has
function within filter query strings.Also added EBNF grammar for filters to documentation and narrowed some types in the filter parse tree.
Closes #985.