funkensturm / ember-local-storage

The addon provides a storageFor computed property that returns a proxy and persists the changes to localStorage or sessionStorage. It ships with an ember-data adapter.
https://www.funkensturm.com/ember-local-storage/
MIT License
218 stars 76 forks source link

Namespace storage based on type key #263

Closed offirgolan closed 7 years ago

offirgolan commented 7 years ago

This PR adds support for multiple storage type for a given model.

{
  fooStorage: storageFor('foo', 'model'),
  barStorage: storageFor('bar', 'model')
}
offirgolan commented 7 years ago

Also build is failing because of SASS issue. Unrelated to this PR.

fsmanuel commented 7 years ago

@offirgolan thanks! I'll do a review soon.

fsmanuel commented 7 years ago

@offirgolan good catch!

fsmanuel commented 7 years ago

@offirgolan released as 1.4.0

offirgolan commented 7 years ago

@fsmanuel glad to help. Thanks for the release! 😄