Ember Data Model Comparison


I’m having a bit of trouble comparing models (using Ember.isEqual retrieved via lazy-loading to models retrieved via findRecord / findAll. It has to do with the one being a Model, and the other one being a PromiseObject.

Here’s what I get when I toString() both of them:



Properties on both objects are equal, so for now I can just compared using the id property. It would be nice if Ember.isEqual() took this into account, does anyone know if there are any plans to support this?