Ember-Data promise fired too soon


I’m doing the following to retrieve all objects of a specific type:

App.Project.find().then (projects) ->
  console.log projects.getEach('id')

I would expect the promise to be fired only once the data has been loaded. However, the ids aren’t defined when the callback is executed.

This seems like a unexpected behavior, which I would even consider as a bug.