Is it possible to POST associations using "finder" URIs in Spring Data REST? -
I want to post to create entities using entities that designate "finder" URI instead of "ID" URI I am Is this possible?
Post it to:
{"Username": "Gonzo", "Role": "http://x.com/roles/nameequals? Name = Admin "} No this:
{" username ":" gonzo "," role ":" http://x.com / Roles / 1 "} When I try, I get an error from Spring Breast" java.lang.String "type failed to change '' which I think It is not supported I had hoped that there was no way to enable this feature. Although this is probably irrational thinking.
Cheers
No, it is not supported. URI needs to identify an item resource because we can directly remove findOne (รข ??) from URI to remove backend ID. On the repository
Comments
Post a Comment