Closed
Description
Due to a limitation in EF Core 3.x, there is no straight-forward way to implement support for this in JsonApiDotNetCore.
As a result, the following requests do not work:
GET /blogs/1/articles?filter[title]=like:art HTTP/1.1
Returns HTTP 400: Query string parameter 'filter[title]' is currently not supported on nested resource endpoints.
GET /blogs/1/articles?page[number]=2 HTTP/1.1
Returns HTTP 400: Query string parameter 'page[number]' is currently not supported on nested resource endpoints.
GET /blogs/1/articles?page[size]=2 HTTP/1.1
Returns HTTP 400: Query string parameter 'page[size]' is currently not supported on nested resource endpoints.
In addition to this, the configured DefaultPageSize in options is not applied on nested endpoints.
We should be able to overcome these limitations using EF Core 5, which is currently in preview. This issue tracks the work on that.