Skip to content

Instantly share code, notes, and snippets.

Created March 2, 2017 16:04
What would you like to do?
import DS from 'ember-data';
export default DS.JSONSerializer.extend({
normalize(typeClass, hash) {
// return JSON API document
pushPayload(store, payload) {
let normalizedPayload = this.normalize(typeClass, payload);
return this._super(store, normalizedPayload);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment