Extends: Ember.Object
Defined in: addon/adapter.js:7
Module: ember-data


By default the store will try to coalesce all fetchRecord calls within the same runloop into as few requests as possible by calling groupRecordsForFindMany and passing it into a findMany call. You can opt out of this behaviour by either not implementing the findMany hook or by setting coalesceFindRequests to false.


If you would like your adapter to use a custom serializer you can set the defaultSerializer property to be the name of the custom serializer.

Note the defaultSerializer serializer has a lower priority than a model specific serializer (i.e. PostSerializer) or the application serializer.

import DS from 'ember-data';

export default DS.Adapter.extend({
  defaultSerializer: 'django'

© 2017 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.