normalize (typeClass, hash) Object
The normalize
method is used to convert a payload received from your external data source into the normalized form store.push()
expects. You should override this method, munge the hash and return the normalized payload.
Parameters:
-
typeClass
DS.Model
-
hash
Object
Returns:
-
Object
Please login to continue.