RequestFactory doesn't populate all fields of my entity proxy

后端 未结 1 756
忘了有多久
忘了有多久 2021-01-26 22:12

Could you please tell me how I can make RequestFactory populate fields of my entity proxy that are entity proxies too ?

Here is parent proxy

@ProxyFor(va         


        
相关标签:
1条回答
  • 2021-01-26 23:11

    Sorry but I found the answer. I should have RTFM.

    When querying the server, RequestFactory does not automatically populate relations in the object graph. To do this, use the with() method on a request and specify the related property name as a String

    0 讨论(0)
提交回复
热议问题