- Notifications
You must be signed in to change notification settings - Fork302
Open
Description
Description of feature request
Currently, when there are no included resources, there is no included key. However, as of JSON API 1.1this is required and in older versions it is certainly allowed. So whenever a user has requested includes with the query parameterinclude
anincluded
key needs to be part of the result. But only then. If there is noinclude
query parameter, noinclude
should be added.
Checklist
- Raised initially as discussionAdding support for JSON:API v1.1 #1092
- This cannot be dealt with as a third party library. (We prefer new functionality to be in the form of third party libraries where feasible.)
- I have reduced the issue to the simplest possible case.