JSON:API response links (pager links?) are also removed

Created on 21 January 2024, 5 months ago
Updated 28 March 2024, 3 months ago

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.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡―πŸ‡΅Japan ptmkenny

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024