angular-restmod icon indicating copy to clipboard operation
angular-restmod copied to clipboard

Update $pk on $save

Open jczerwinski opened this issue 10 years ago • 0 comments

If the primary key property of a model is changed, and the model is subsequently saved, $pk is not updated. Subsequent API calls then hit the wrong URI.

The requested behaviour is consistent with the HTTP PUT spec.

jczerwinski avatar Jul 07 '15 20:07 jczerwinski