contentful-userland / contentful.ex

Elixir SDK for the Contentful Delivery API
MIT License
35 stars 30 forks source link

Impossible to build more complex queries? #38

Closed ryansch closed 4 years ago

ryansch commented 4 years ago

Unless I'm missing something, it doesn't appear to be possible to query Entries with things like the equality operator (https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters/equality-operator).

I have an existing query using the 0.1.1 version of this gem that I'm trying to port to 0.3.0. It appears that https://github.com/contentful-labs/contentful.ex/blob/bbf75f30fe371cceffaa00e75c31d780f94425dc/lib/contentful_delivery/delivery.ex#L277 will filter out anything else I try to add to the request.

floriank commented 4 years ago

At the moment, this is indeed limited. Fetching entries would be possible by their entry_id at this point in time. I am currently working on backporting this.