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

Do not override extractMeta #59

Merged
merged 1 commit into from
Feb 18, 2015

Conversation

whatthewhat
Copy link
Contributor

I think the default implementation of extractMeta in RESTSerializer is fine for JSON API: https://github.com/emberjs/data/blob/v1.0.0-beta.12/packages/ember-data/lib/serializers/json_serializer.js#L953

  extractMeta: function(store, type, payload) {
    if (payload && payload.meta) {
      store.metaForType(type, payload.meta);
      delete payload.meta;
    }
  }

@tobyzerner
Copy link

Would be great to get this merged!

kurko added a commit that referenced this pull request Feb 18, 2015
@kurko kurko merged commit 15f52f0 into kurko:master Feb 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants