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

What is about meta data that you receive from Tastypie?

andrewfan opened this issue · comments

I would like to create pagination for recordArray but looks like you dont use meta data that comes from Tastypie.

You are right. Unfortunately, that is not implemented yet.

Next week, I want to do some refactoring with the ID serialization and migrate to Revision 9 that was released last night. The next step will be the pagination.

If you want to build that feature by yourself, you might want to have a look at the extractSince/extractQuery in the official RESTAdapter

I'm currently work with rev 4, i solved this problem by overriding ember-data findAll and findQuery method, hope it will work in rev 9 too.

That is exactly how we do it in our internal project. However, I would like to provide the "official" way to do it soon.

Hi @andrewfan . Please let me know if this commit[1] fixes your issue.

[1] d64334b