-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self Link wrong when opening a related entity? #12
Comments
Not sure I understand what you're after. "self" doesn't refer to a specific element of a relation, only a top-level entity. |
Hi, And it returns me the following: {
"pressure": 10,
"_links": [
{
"rel": "tires.Tire.car",
"href": "http://localhost:8080/rest/car"
},
{
"rel": "self",
"href": "http://localhost:8080/rest/car/3839196d-6c95-494b-a405-e6d9f120b252"
}
],
"type": 0
} For self I though it should return "rel" : "self": Now more understandable? |
…nk generator rather than the child's.
I see what you're saying. I pushed a change to pass the correct information to the link generator. Snapshot artifacts should be available in a few minutes, when the CI build completes. Thanks for letting me know! :) |
Jon, |
Hi,
I am not sure if this is a bug, or me having a misunderstanding. When I open up an entity and the according relation then the ouput looks like this:
Self links to the parent entity but not the opened entity itself. The according link to that looks like this:
http://localhost:8080/rest/relation/3839196d-6c95-494b-a405-e6d9f120b252/entity/45c7ad65-09e6-45e4-a549-eda11f4f70b4
What I am doing wrong?
The text was updated successfully, but these errors were encountered: