Keeping in mind that the jsonapi spec clearly notes that it is agnostic about filtering strategies,
the recommended section provides some help regarding implementing search:
Furthermore, multiple filters can be applied to a single request:
What would be recommended way to filter on attributes of the relationships like
Personally I don’t like all the square brackets so I would prefer something like
but looking at the rest of the spec probably something like
filter[author][name]=John is closer.
In this forum I also saw examples like:
What do you think is best, and would it be a good idea to document this in the recommended section?
Another I’m wondering is how to filter on nested relationships. Image the author has a
nationality relationship with a
Filtering on this using dots could look like:
Using dots this could look like
Using square brackets it could look like:
What are your opinions?