pushPayload (store, payload)
Defined in addon/serializers/rest.js:380
This method allows you to push a payload containing top-level collections of records organized per type. {
"posts": [{
"id": "1",
"title": "Rails is omakase",
"author", "1",
"comments": [ "1" ]
}],
"comments": [{
"id": "1",
"body": "FIRST"
}],
"users": [{
"id": "1",
"name": "@d2h"
}]
}
It will first normalize the payload, so you can use this to push in data streaming in from y