May 24th, 2012, 02:58 AM
Ed, I appreciate your concern, can you raise an issue on that.
I'm still wary. B/c fetching a subgraph can easily lead to fetching the whole graph even with a fetch-depth?
I still think a fetch-depth parameter alone is not really enough, how do you specify where to apply it to? If the related nodes have related nodes again, to which of those will that fetch-depth apply (if any)? If you are related to the same node type (which again has the same fetch-depth annotated, should it keep the fetch-depth from the first (and decrease it) or should it start a new counter?
Could you give some good (complex examples) how you would expect it to work out?
I think semantics for a general fetch-depth are very vague.
That's why I think a query annotated field makes much more sense here.
But I'd love to discuss.