How to paginate related data in json API?
This is just an example. Say I have Client and Data in many to many relationship. I have a json API to read the clients which defines a related route to read a client's related Data. Since the Data can be quite a lot, I want to force paginating it. I have a paginated read action defined in both Client and Data. However, when I call
Is this a bug or am I missing something? Here's the relevant code
http://localhost:4000/api/v1/client/{id}/data the data is not paginated.Is this a bug or am I missing something? Here's the relevant code
