wvteijlingen / Spine

A Swift library for working with JSON:API APIs. It supports mapping to custom model classes, fetching, advanced querying, linking and persisting.
MIT License
264 stars 109 forks source link

How can I get relation objects from parent Resource? #187

Closed lovesuper closed 7 years ago

lovesuper commented 7 years ago

Suppose I have one complex resource which includes other resources by LinkedResourceCollection. How can I get body attributes of inner objects FROM "INCLUDED"? "Included" is always empty.