spring-data-rest, can you provide full details of entity instead of (or with) link [duplicate]
问题 This question already has answers here : Selectively expand associations in Spring Data Rest response (2 answers) Closed 2 years ago . Is there a way to return the full details of a joined entity instead of a link? In the example below I want to also return the details of the product, if I have list of 100 purchases, it would avoid having to make 100 calls to get the product details. The repositories for Product, User and Purchase entities are all created using spring-data-jpa { "_embedded" :