Shallow and Deep, with an optional depth setting?

Shallow is the current EO and its toMany, then stops.

Deep continues on through the graph to a depth of 'depth' ?

Shallow is a wrapper method of Deep with 'depth = 0' ?

This could be a very expensive operation if mis-used, but is badly needed.
Ultimately I think this has to be rules-based ... This same problem happens when serializing object graphs over JSON services ... Which to- many's do you include? Which do you live as faults? I've looked at it a million ways and I think you can only ever do it right with a d2wish rules definition that lets you pick the context you're in to determine which keypaths end up in vs out and faulted vs not.

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to