Closed wojo1206 closed 5 years ago
Focusing on res.fill({ data: dataresource } /* , included_resources */); // @todo check with included resources?
at src/document-collection.ts:43
I gave up and used https://github.com/ghidoz/angular2-jsonapi
which already supports deep nested includes.
I wonder if deep nested inclusion is supported by this library.
In url
api/v1/parts/1?include=items.main.vendor
I receive all relevantitems
, itsmain
and the main'svendor
in json response. I also setup proper relationship on all relevant JS services. The resultedpart
model has data foritems
butitems
has missing data formain
and there is novendor
in relationships at all undermain
.Do you have a working example of such relationship?