{"action":"created","issue":{"url":"https://api.github.com/repos/hhff/ember-infinity/issues/140","repository_url":"https://api.github.com/repos/hhff/ember-infinity","labels_url":"https://api.github.com/repos/hhff/ember-infinity/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/hhff/ember-infinity/issues/140/comments","events_url":"https://api.github.com/repos/hhff/ember-infinity/issues/140/events","html_url":"https://github.com/hhff/ember-infinity/issues/140","id":138021678,"number":140,"title":"Issue with cursor based pagination","user":{"login":"sylwiaeb","id":984694,"avatar_url":"https://avatars.githubusercontent.com/u/984694?v=3","gravatar_id":"","url":"https://api.github.com/users/sylwiaeb","html_url":"https://github.com/sylwiaeb","followers_url":"https://api.github.com/users/sylwiaeb/followers","following_url":"https://api.github.com/users/sylwiaeb/following{/other_user}","gists_url":"https://api.github.com/users/sylwiaeb/gists{/gist_id}","starred_url":"https://api.github.com/users/sylwiaeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylwiaeb/subscriptions","organizations_url":"https://api.github.com/users/sylwiaeb/orgs","repos_url":"https://api.github.com/users/sylwiaeb/repos","events_url":"https://api.github.com/users/sylwiaeb/events{/privacy}","received_events_url":"https://api.github.com/users/sylwiaeb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-02T23:09:18Z","updated_at":"2016-03-03T00:10:34Z","closed_at":null,"body":"Hi all,\r\n\r\nI'm using ember 2.3.0 with ember-data and JSONApi and trying to get this working with Facebook Graph api cursor pagination. My response looks like this:\r\n```\r\n{\r\nnext: \"/api/posts?after=NDI5NjEzODQ3MjIxNDc2\"\r\nprev: \"/api/posts?before=OTA4Mzk3Njg1OTQzNjg1\"\r\n}\r\n```\r\nAnd I stuck at this point:\r\n\r\n- `this.set('_minId', posts.get('lastObject.id'));` is undefined but `this.set('_minId', posts.get('lastObject').get('id');` seems to be working not sure why\r\n- `this.set('_minUpdatedAt', posts.get('lastObject.updated_at').toISOString());` also is undefined but that's because my model doesn't have `updated_at` ? so my question is should I set this prop when loading model or something?\r\n    "},"comment":{"url":"https://api.github.com/repos/hhff/ember-infinity/issues/comments/191503272","html_url":"https://github.com/hhff/ember-infinity/issues/140#issuecomment-191503272","issue_url":"https://api.github.com/repos/hhff/ember-infinity/issues/140","id":191503272,"user":{"login":"davidgoli","id":44666,"avatar_url":"https://avatars.githubusercontent.com/u/44666?v=3","gravatar_id":"","url":"https://api.github.com/users/davidgoli","html_url":"https://github.com/davidgoli","followers_url":"https://api.github.com/users/davidgoli/followers","following_url":"https://api.github.com/users/davidgoli/following{/other_user}","gists_url":"https://api.github.com/users/davidgoli/gists{/gist_id}","starred_url":"https://api.github.com/users/davidgoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidgoli/subscriptions","organizations_url":"https://api.github.com/users/davidgoli/orgs","repos_url":"https://api.github.com/users/davidgoli/repos","events_url":"https://api.github.com/users/davidgoli/events{/privacy}","received_events_url":"https://api.github.com/users/davidgoli/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T00:10:34Z","updated_at":"2016-03-03T00:10:34Z","body":"@sylwiaeb well, Ember Data is... opinionated about how requests are built. Before diving in with Ember Infinity I'd suggest building a couple routes that don't use Ember Infinity just to get a feel for how Ember Data works with your backend. In brief, Ember Data builds your urls for you, using an adapter. Take a look at these guides for more info:\r\n\r\nhttp://emberjs.com/api/data/classes/DS.Store.html#method_query\r\nhttp://emberigniter.com/fit-any-backend-into-ember-custom-adapters-serializers/"}}