genkgo / ember-localforage-adapter

Offline usage for Ember Data, based on localstorage adapter, but now uses Mozilla's localforage as data source
Other
133 stars 26 forks source link

Change generateIdForRecord to guid / uuid #56

Closed frederikbosch closed 7 years ago

frederikbosch commented 8 years ago

The current randomness generation is not sufficient. We should better than that; and use proven technology like guid and uuid. Also it should be rather easy to implement. There has to be a package out there somewhere that already takes care of uuid in the browser.

frederikbosch commented 8 years ago

Stack overflow contains a lot of useful material on this topic, as always. And bower suggests some useful libraries. We should decide which library suits us best. Maybe even PR a package like broofa/node-uuid with a request to support ES6 syntax.