Skip to content

Include requested entities in returned JSON when using a complex prefetch~json parameter #25

@lohengrin332

Description

@lohengrin332

Given the following query string: /artists?prefetch~json={"cds":"tracks"} I would expect a response similar to this:

{
    "linked": {
        "cds": [...],
        "tracks": [...],
    },
    "links": {
        "cds": {...},
        "tracks": {...}
    },
    "artists": [...]
}

But I am instead getting this, without tracks in the results:

{
    "linked": {
        "cds": [...],
    },
    "links": {
        "cds": {...},
    },
    "artists": [...]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions