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

20 views
Skip to first unread message

Sekhar

unread,
Nov 30, 2011, 12:16:57 PM11/30/11
to google-we...@googlegroups.com
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?

Thomas Broyer

unread,
Nov 30, 2011, 12:29:11 PM11/30/11
to google-we...@googlegroups.com

Sekhar

unread,
Nov 30, 2011, 1:29:46 PM11/30/11
to google-we...@googlegroups.com
Thanks, yes...looks that way.
Reply all
Reply to author
Forward
0 new messages