Let's say I have a AFolder
class with name, description and a List<AFile>
as an attribute. Now assume that I have created a AFolder
object with its list of AFile
populated. If I try to update using PUT/PATCH with something like {"name": "new name", "description": "new description"}
then the list of AFile
came back empty
How to resolve this problem?
Looks like you're running into this issue which has been fixed in Spring Data REST 2.1.1.