Skip to content

Support inclusion of resources from a path according to JSON:API spec #2365

Description

@dematerializer

Although Inclusion of Related Resources was partly implemented in #1949 as requested by #1934, unfortunately support for inclusion of resources from a path was not implemented. Would it be possible for this to be supported as well?

The following already works as expected (comments are included in the response):

GET /articles/1?include=comments HTTP/1.1
Accept: application/vnd.api+json

This doesn't work (neither comments nor authors are included in the response as they should be according to the spec):

GET /articles/1?include=comments.author HTTP/1.1
Accept: application/vnd.api+json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions