Loading sideloaded data received through a WebSocket

This stumped me for a while, too. The best approach I’ve found is to look at how find works, and to immitate it by calling didFindRecord.

var id = json["person"]["id"];
var store = DS.get("defaultStore");
var adapter = store.adapterForType(App.Person);
adapter.didFindRecord(store, App.Person, json, id);
var person = App.Person.find(id);

This is probably not a best practice.