-
Per the spec., this is supposed to be possible:
But they don't mention a queryparam I could try out, and I didn't notice any mention of included resource pagination in the docs. for this project. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
It is currently only possible to do pagination on top level resources in DJA but not the included collection. The specification states any pagination to be optional so if we wanted this to be added as a feature in DJA we should discuss actual use cases which such pagination would cover and then how to technically implement it.
My first thought is that such a pagination is fairly limited as included collections can be a collection of different types. I haven't tested this but you could have related urls links which then allow you to paginate. This way your client can choose specifically what relationship needs to be paginated. Just some thoughts. It would be great to hear what you actual use case is for such a feature and whether the above would cover it. |
Beta Was this translation helpful? Give feedback.
It is currently only possible to do pagination on top level resources in DJA but not the included collection.
The specification states any pagination to be optional so if we wanted this to be added as a feature in DJA we should discuss actual use cases which such pagination would cover and then how to technically implement it.
My first thought is that such a pagination is fairly limited as included collections can be a collection of different types. I haven't tested this but you could have related urls links which then allow you to paginate. This way your client c…