Ember Data Meeting Minutes - 2014/07/02
Posted By: Igor Terzic –
Although most of our collaboration takes place on Github, IRC
#emberjs on freenode.net), and our Discourse site
the Ember Data team meets privately every
Wednesday at 11am PST through Google Hangout for a weekly
discussion of all things Ember-Data.
We discussed the PushPayload proposal
@wycats concluded that the original decision for
pushPayload on the store to accept a
type argument was a mistake.
Decided that instead of creating several new hooks, the best course of actions seems to be to add a
normalize method to the store.
Thus instead of doing
pushAndNormalize from the discuss proposal, one can do
store.push(type, store.normalize(type, payload))
It also seems nice to have a
normalize method on the store as the inverse of
serialize which already exists on the model.
The hook was given a +1. We also realized that this hook will also solve the problem of URLs being too long for findMany
comments powered by Disqus