The update is that, as I said above, since 2.1.1, RequestFactory supports
embedded obejcts (in the form of ValueProxy instead of EntityProxy). And the
doc has recently been updated to reflect it, so you can follow the above
link to find out more.
There's nothing like "partial embedded objects" though: either you get the
whole ValueProxy (i.e. with all its properties) or nothing.
For our particular domain model ("a lot of embedded values that stack quite
deep (an entity could easily contain something like 5 levels of embedded
values, many of them are within lists; that's very easy when you think in
terms of objects and/or "documents", as with MongoDB/Morphia)"), we expose
some of these embedded values as entities (EntityProxy); and we use a
Locator to "synthesize" an identifier (and later load the entity and get the
embedded back from that identifier), but believe me this is really tricky!
I'd highly recommend that you split your domain model into smaller parts if
you can.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.