Skip to content

Related resources are not fetched via their own link #8

@anuragagarwal561994

Description

@anuragagarwal561994

There can be a possibility that related resources might have different links, like if A has a relation B.

A {
    "data": {
        ...
        "relationships": {
            "B": {"data": {...}, "links": {"self": "prefix/B"}}
         }
    }
}

B should thus be fetched by its link and not like the regular fetch_by_id.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions