ember-firebase icon indicating copy to clipboard operation
ember-firebase copied to clipboard

Binding to List names

Open neverfox opened this issue 11 years ago • 0 comments

Often times, the your intent is to leverage the name of an object in Firebase as an "id" property of the object. But List essentially shunts these off into a names array, so that you don't have coordinated access to them in an #each loop over the content. Does one essentially need to adopt a different approach with ember-firebase of always explicitly storing a value for an id alongside other properties, if that's what you need? Or is there something clever I'm not thinking of to get this kind of access?

neverfox avatar May 03 '14 06:05 neverfox