From f95415af0d57068642c0956f9866c80d8eee8219 Mon Sep 17 00:00:00 2001 From: Dustin Farris Date: Tue, 7 Jul 2015 16:16:42 -0400 Subject: [PATCH] Remove coalesceFindRequests warning --- addon/adapters/drf.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/addon/adapters/drf.js b/addon/adapters/drf.js index 362e7fa..e849b75 100644 --- a/addon/adapters/drf.js +++ b/addon/adapters/drf.js @@ -97,25 +97,6 @@ export default DS.RESTAdapter.extend({ } }, - /** - * Fetch several records together if `coalesceFindRequests` is true. - * - * @method findMany - * @param {DS.Store} store - * @param {subclass of DS.Model} type - * @param {Array} ids - * @param {Array} snapshots - * @return {Promise} promise - */ - findMany: function(store, type, ids, snapshots) { - Ember.Logger.warn('WARNING: You are fetching several records in a single request because ' + - 'you have set `coalesceFindRequests=true` on the adapter. For this to ' + - 'work, you MUST implement a custom filter in Django REST Framework. See ' + - 'http://dustinfarris.com/ember-django-adapter/coalesce-find-requests/ ' + - 'for more information.'); - return this._super(store, type, ids, snapshots); - }, - /** * This is used by RESTAdapter.groupRecordsForFindMany. *