Spring Data Rest item vs association links? -
if have spring data rest parent child one-to-one relationship, link self when doing on child is
...../rest/child/12
and on parent has following: child: {
href: "...../rest/parent/1/child"
and turns out, these 2 links point same resource, believe if understand 1 pointing item resource , other pointing association resource. there way have on parent return child item resource link instead of association link? think i'm confused on in general if hal treats uris ids why these 2 disparate links point same thing.
Comments
Post a Comment