Closed superkhau closed 9 years ago
@bajtos Is the idea to browserify proquint on the client and use it to render easy-to-read guids in Angular? Or should I be adding a before save hook on the common model that does the conversion before persisting it to the db?
Is the idea to browserify proquint on the client and use it to render easy-to-read guids in Angular? Or should I be adding a before save hook on the common model that does the conversion before persisting it to the db?
The former. Change only the way how the id is rendered in the GUI, keep the underlying data structures unchanged.
See outdated diff comment @ https://github.com/strongloop/loopback-example-offline-sync/pull/60#discussion_r28849823