ember-data-contentful icon indicating copy to clipboard operation
ember-data-contentful copied to clipboard

findAll only returns 100 records & limit is ignored.

Open patdiola opened this issue 7 years ago • 0 comments

store.query('something', {limit: 1000}) works, but store.findAll('something', {limit: 1000}) doesn't and instead always limits to 100 records.

I think the normalizeQueryRecordResponse() method is set up to make the limit work for store.query() and normalizeArrayResponse() isn't helping store.findAll() with the limit feature.

I think the problem is here and that we need something like a normalizeFindAllRecordResponse() method.

https://github.com/davidpett/ember-data-contentful/blob/b4a9ac52496600d88631c82d290de9b7b4f35326/addon/serializers/contentful.js

normalizeFindAllResponse() { return this.normalizeArrayResponse(...arguments); },

patdiola avatar Sep 07 '17 18:09 patdiola