Skip to content

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

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": [...]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions