Ember Data: createRecord and attributes created server side

Hi,

I am trying to understand if it possible for Ember Data to update the record from the server side data it got when the save request finished.

Right now, the id gets updated. But I didn’t find any way to get the payload to update the new record from serializer.extract payload.

I guess you could do it with a model.save().then(function() {model.reload();}) but is there a way to save that extra query?

Thanks

1 Like