Closed zdraw closed 12 years ago
Ok I see, there is no check for the resolveProxies for containments, will fix asap.
Made changes to support cross document containments, will publish new update site later.
Any idea when this will go into the p2 repo?
I've publish the update, sorry for the delay. The new version is 0.5.0.201210171429, it's just publish so you may have to wait a little before seeing it.
When given an array of containment references to objects contained in another resource, the array is processed during fillEContainment instead of fillEReference. (containment = true, resolveProxies = true)
Small example.. The following is stored in resource - toys
And this object is in resource - boxes{ "_id" : 1, "eClass" : "Toy", "name" : "Buzz", }
{ "eClass" : "Box", "crossDocContainmentRefs" : { [ {"eClass" : "Toy", "$ref" : "../toys/1"} ]} }