Wednesday, November 30, 2011

RequestFactory with() fetching info only for last item in list

I have the following hierarchy

User (entity)
- List<Member> getMembers()
- List<Problem> getProblems()

Member (value)
- User getUser()

Now, if I fetch a User using with(... "members", "members.user.problems"), I'm getting the problems only for the last member in the list. I verified in the debugger that getUser() gets hit for all the members, but getProblems() gets hit only for the last member. Is the call for with() bad?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/tgQjBiWNYO4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment