Closed floriank closed 4 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
lib/contentful_delivery/delivery.ex | 2 | 3 | 66.67% | ||
lib/contentful/query.ex | 19 | 25 | 76.0% | ||
<!-- | Total: | 41 | 48 | 85.42% | --> |
Totals | |
---|---|
Change from base Build 50ea35dcac6ffacfcfa51f7ce5d8b4e222b16d5c: | 11.6% |
Covered Lines: | 108 |
Relevant Lines: | 136 |
After having no time for a while these days and thinking a bit about #38, I decided to put in some work about it.
This will add support for more complex queries as noted by @ryansch, in the form of:
and provide some safeguards around it, e.g. using
by
without acontent_type
call is not permitted, etc.Feedback, as always, is very welcome.
TODO
content_type
by
by
, via[nin]
and[in]
by
via[lte]
,[gte]
,[lt]
and[gt]
query
and[match]
Out of scope
Somebody create some issues for the ones above please :wink: (will probably do tomorrow)
Fixes #38.