Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add normalizePayload(modelName, payload) to DS.Store #3838

Closed
wants to merge 1 commit into from
Closed

[WIP] Add normalizePayload(modelName, payload) to DS.Store #3838

wants to merge 1 commit into from

Commits on Oct 11, 2015

  1. Add normalizePayload(modelName, payload) to DS.Store

    A payload can be normalized by `store.normalizePayload()` into the JSON
    API format Ember Data expects for `store.push`. The method optionally
    takes a primary model name as first argument. If a primary model is
    specified, the normalized payloads' primary data contains data for this
    model from the payload and all other data is included.
    pangratz committed Oct 11, 2015
    Configuration menu
    Copy the full SHA
    c6cd97c View commit details
    Browse the repository at this point in the history