Closed baxtheman closed 5 years ago
Hello,
You must use "order.links.commessa.uri.uri" insteadof "order.links.commessa.uri". Now URI is an object, refer to https://github.com/deblockt/hal-rest-client#from-02
I think, i will add a parser for automaticly transform URI
to String
You can also write something like this :
resource.prop('commessa', new HalResource(client, order.links.commessa));
Hi,
I've upgrade to last version 0.3.0 and the resource.create() gets error from the java spring data backend.
Code to save new resource:
the json POST by browser to backend, version 0.2.6
the json POST by browser to backend, version 0.3.0
The last version is not recognized by the backend and it produces an exception (commessa field empty).
What can I do to resolve? thx