escalant3 / ember-data-tastypie-adapter

An adapter to connect django applications powered by django-tastypie with ember.js apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pagination

kelonye opened this issue · comments

Uncaught TypeError: Object #<Object> has no method 'sinceForType'. Error caught on L85 when paginating records. Meta is meta: {limit:20, next:?limit=20&offset=20, offset:0, previous:null, total_count:51} with API_LIMIT_PER_PAGE as default.

Which version of ember-data are you using? I am using the pagination without issues in my current project.

Worked fine till revision 12. Seems to be caused by the api changes.

Even if they don't change the breaking changes revision, it may break the adapters. I am working with revision 12 as well without issue. I am using a build of ember data form the commit that you can find in the README page emberjs/data@a29070d

Aha, am using the most recent .. #L11. Anyway, wish someone had time to add "meta" tests.