You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nevermind, I got it. Looks like we need to apply some of our massaging to collections, too. Generally speaking, using a proper media type like JSON Patch will prevent problems like this as you can be much more specific about what your intentions are as a client
Destan Sarpkaya opened DATAREST-931 and commented
User has a repository and Phone has not. [id and some other fields are pruned in below examples for brevity, see full entities in example code]
In this case patch for /users/1 with following data works:
but following data fails with not-null-constraint error for creationDate:
PATCH works selectively on resources however doesn't work as expected for inline data which is not a resource (in this case "phone")
Affects: 2.5.4 (Hopper SR4)
Attachments:
Backported to: 2.5.5 (Hopper SR5), 2.4.7 (Gosling SR7)
The text was updated successfully, but these errors were encountered: