fix: use JSON:API compliant conversion#7889
Conversation
Following recommendations from here https://jsonapi.org/format/#fetching-pagination while being close to the ways used internally in api-platform.
|
I left a detailed response on #7888 explaining the situation. In short: the JSON:API spec is explicitly agnostic about pagination strategy — Hardcoding the mapping I don't think we should merge this as-is. Comment mostly generated with Claude. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Following recommendations from here
https://jsonapi.org/format/#fetching-pagination
while being close to the ways used internally in api-platform.
===
This addresses some of the issues discussed in this issue.
Going forward, there are two possible approaches:
Depending on the chosen approach, the links section needs to be handled accordingly:
This ultimately comes down to a design decision based on the desired level of compatibility and consistency.