问题
When retrieving the list of "master" objects, Backand Fails to retrieve "slave" objects
app springnutjs
When retrieving the list of "master" objects (the ones with the "collection, via" field), Backand Fails to retrieve "slave" (the ones with the "object" field) objects even if it does work retrieving the "master" objects when retrieving the list of all "slave" objects
回答1:
In order to get collections ("slave") you need to use query parameter: deep=true. When calling a list of objects there is no deep at all, but when getting a single master with deep=true you will get all the children ("slaves"). For example, when you run /1/objects/master/1?deep=true you will get all slaves. Running /1/objects/master?deep=true no slaved but only related objects.
来源:https://stackoverflow.com/questions/34616275/when-retrieving-the-list-of-master-objects-backand-fails-to-retrieve-slave