Hello,
on the Beta Version of Strapi there is no problem with deep filtering. The following is working without problems: /restaurants?address.city=New York.
But in the stable release I can’t use deep filtering anymore. Here is an example project.
For example try to open http://localhost:1337/cities?location.id=1. It throughs the following error: Your filters contain a field 'location.id' that doesn't appear on your model definition nor it's relations.
Does anyone know why this feature isn’t working in newer versions of strapi and how to fix it?
thank you. I chose id arbitrarily to to demonstrate the issue. It’s also not working with any other constellation.
I extended the example by adding an component. If you try to call http://localhost:1337/cities?spots.freeText=available it’s still not working.
Providing a minor update to this, that in our upcoming v4 we will support filtering on components but not on dynamic zones (polymorphic relations are a massive pain to that level of filtering, we will probably never it add it to dyn zones or the upload plugin)