I have found difficulties, to override the ID generation mechanism, it is easy to do and advertised…
Yan Philippe
11

I think you can either pass your own id when you create a record:


store.createRecord(‘name’, {name: ‘foo’, id: ‘custom-id’})

…or you can extend the Firebase adapter and write your own id generation function
http://emberjs.com/api/data/classes/DS.Adapter.html#method_generateIdForRecord

Haven’t tested this myself though.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.