Problem/Motivation
On the admin page, the checkbox description states "All links attributes will be recursive removed, except for the /jsonapi response." However, when I tick the checkbox, I find that even the response links (the root links that include the pager links) get removed.
If I'm misunderstanding what this module is supposed to do, I'm sorry, but I think the pager links are supposed to be kept.
Steps to reproduce
Enable this module, turn on link removal, and then visit a JSON:API endpoint.
Proposed resolution
Do not remove the links that are siblings of the JSON:API response.
Comments
Comment #3
ptmkenny commentedComment #4
_tarik_ commentedI see the code for this issue was already merged in the scope of this one https://www.drupal.org/project/jsonapi_links/issues/3416149
ptmkenny, please don't combine code for different issues in merge requests in the future. I can understand that you had conflicts between these two patches, but it is better to put a combined version into the comments.
Everything works fine, so the issue can be closed. Thanks for your work!
Comment #5
_tarik_ commentedAdded to new module release https://www.drupal.org/project/jsonapi_links/releases/1.0.4