0

In my Spring project I'm using neo4j as the database layer, and as it's own GraphId is not entirely reliable, I am using textual ids (e.g. email address for users) for my nodes.

I can change the HATEOAS links in my response resources, and they work fine. Is there a way to change the link in the Content-Location header as well?

endrec
  • 447
  • 6
  • 17
  • As long as you assign id in code somewhere before SDR calls on save on repository you should be good – Stackee007 Jul 23 '15 at 21:22
  • I want to use a different field in the links (and headers), not the database id. – endrec Jul 24 '15 at 07:23
  • SDR wires the ID links with what is on set on "Id" field. I doubt you could override that. However you have option of add additional links. – Stackee007 Jul 27 '15 at 17:04

0 Answers0