Spring Data-Rest POST to sub-resource
问题 Lets say I have the following structure: @Entity class Person extends AbstractPersistable<Long> { String name String surname } @Entity class Task extends AbstractPersistable<Long> { String description @ManyToOne Person person } If I follow proper HAL guidelines I'm not supposed to expose entity id's. Since I don't have a bi-directional relationship I cant PUT or PATCH to http://localhost:8080/persons . Even if I did create the relation, I probably wouldn't want to first POST the Task to