In the older SDN it was possible to load an object, and have the SDN framework populate all the sub-objects. Is there any work to make this possible in the later OGM?
I know it's possible to do an unbounded depth load:
session.load(MyClass, nodeId, -1)
but this pulls in the entire graph, whether it's referenced by MyClass or not (there are other objects that reference MyClass, so there are relationships in the graph).
One of the benefits of using an object mapper framework is so that it does the heavy lifting for you. It's frustrating for every caller of
load to have to know to what depth the objects they are loading are required by their callers. This breaks a number of coding patterns :(.
I just want to load an object fully according to it's domain model.
Is there any work in progress in this area? (I don't want to reinvent the wheel).