Closed nilportugues closed 9 years ago
Get from "included" objects the relationship and append it to its parent.
In the provided example, comments from "included" should be in post's relationship.
This requires all classes to implement or have an add relationship method to construct the URI to the resource.
https://github.com/nilportugues/json-api/commit/639ffa07fe73cbdf3566f9ac497028c86fa3169d
Get from "included" objects the relationship and append it to its parent.
In the provided example, comments from "included" should be in post's relationship.
This requires all classes to implement or have an add relationship method to construct the URI to the resource.