First off, I think that PromiseArray should proxy meta, so that this works:
promiseArray = store.find('foo', {page: 1});
promiseArray.then(function(foos) {
promiseArray.get('meta') // should not be null
foos.get('meta') // works but is confusing why both don't work
});
I also think that Ember Data should reopen ArrayController to do the same, or it should happen in ember - not sure what the best place to do that in is, but the following should definitely work IMO:
App.ApplicationRoute = Em.Route.extend({
model: function() {
return this.store.find('foo');
}
});
{{meta.someProperty}} {{! should work }}
{{content.meta.someProperty}} {{! currently works but confusing, not required for e.g. length }}
Happy to provide a PR if anyone agrees