{"action":"created","issue":{"url":"https://api.github.com/repos/jasonmit/virtual-each/issues/17","labels_url":"https://api.github.com/repos/jasonmit/virtual-each/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/jasonmit/virtual-each/issues/17/comments","events_url":"https://api.github.com/repos/jasonmit/virtual-each/issues/17/events","html_url":"https://github.com/jasonmit/virtual-each/issues/17","id":120187863,"number":17,"title":"Add support for promises","user":{"login":"bitsoflogic","id":4437714,"avatar_url":"https://avatars.githubusercontent.com/u/4437714?v=3","gravatar_id":"","url":"https://api.github.com/users/bitsoflogic","html_url":"https://github.com/bitsoflogic","followers_url":"https://api.github.com/users/bitsoflogic/followers","following_url":"https://api.github.com/users/bitsoflogic/following{/other_user}","gists_url":"https://api.github.com/users/bitsoflogic/gists{/gist_id}","starred_url":"https://api.github.com/users/bitsoflogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitsoflogic/subscriptions","organizations_url":"https://api.github.com/users/bitsoflogic/orgs","repos_url":"https://api.github.com/users/bitsoflogic/repos","events_url":"https://api.github.com/users/bitsoflogic/events{/privacy}","received_events_url":"https://api.github.com/users/bitsoflogic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-03T14:50:50Z","updated_at":"2015-12-07T19:09:19Z","closed_at":null,"body":"Using `return this.store.findAll('notes');` in the model, which is making a REST call, I'm seeing this behaviour:\r\n\r\n```\r\ntemplate.hbs\r\n{{#virtual-each ... items=model as |item actualIndex virtualIndex|}}\r\n  Nothing displays here\r\n{{/virtual-each}}\r\n\r\n{{#each model as |item index|}}\r\n  Display all records in the store\r\n{{/each}}\r\n```\r\n\r\nIt'd be cool to see support for promises.  In the meantime, do you have any recommendations on how to work around this?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jasonmit/virtual-each/issues/comments/162627144","html_url":"https://github.com/jasonmit/virtual-each/issues/17#issuecomment-162627144","issue_url":"https://api.github.com/repos/jasonmit/virtual-each/issues/17","id":162627144,"user":{"login":"bitsoflogic","id":4437714,"avatar_url":"https://avatars.githubusercontent.com/u/4437714?v=3","gravatar_id":"","url":"https://api.github.com/users/bitsoflogic","html_url":"https://github.com/bitsoflogic","followers_url":"https://api.github.com/users/bitsoflogic/followers","following_url":"https://api.github.com/users/bitsoflogic/following{/other_user}","gists_url":"https://api.github.com/users/bitsoflogic/gists{/gist_id}","starred_url":"https://api.github.com/users/bitsoflogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitsoflogic/subscriptions","organizations_url":"https://api.github.com/users/bitsoflogic/orgs","repos_url":"https://api.github.com/users/bitsoflogic/repos","events_url":"https://api.github.com/users/bitsoflogic/events{/privacy}","received_events_url":"https://api.github.com/users/bitsoflogic/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T19:09:19Z","updated_at":"2015-12-07T19:09:19Z","body":"I haven't been able to test the braindump just yet.\r\n\r\nThis does not trigger the helper:\r\n```\r\n{{#virtual-each items=(unwrap-promise model) as |item actualIndex virtualIndex|}}\r\n```\r\n\r\nThis does:\r\n```\r\n{{#each (unwrap-promise model) as |item|}}\r\n```\r\n\r\nUsing:\r\nember.debug.js:5378DEBUG: Ember      : 1.13.7\r\nember.debug.js:5378DEBUG: Ember Data : 1.13.8\r\nember.debug.js:5378DEBUG: jQuery     : 1.11.3\r\n\r\n"}}