[Feature Request] Make jsonapi_auto_inlcude parameter usage configurable

Created on 21 September 2024, 2 months ago

Problem/Motivation

Based on a similar approach already implemented in jsonapi_include , make use of jsonapi_auto_include query parameter optional for jsonapi_auto_include module also.

Proposed resolution

Add a flag to opt-in for using ?jsonapi_auto_include=1 query parameter.
- If flag is disabled, all relationships will be included in JSON:API response.
- If flag is enabled, relationships will be included only when url has ?jsonapi_auto_include=1

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India sumit_saini

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024