btroncone / ngrx-store-localstorage

Simple syncing between @ngrx store and local storage
MIT License
613 stars 118 forks source link

Models are not used to cast the values from the localStorage. #134

Open hmendezm opened 5 years ago

hmendezm commented 5 years ago

Hi Guys,

Thanks for the work in this project. Everything is working. I got the values from localStorage. The problem that I have is that when I got the data from the localStorage and the state is populated, the data is not casting using the models. Everything is Object type.

is a way to tell ngx-store-localstorage to use the model to cast the values?

Best Hank

billdwhite commented 5 years ago

Same issue here; It worked fine with the 7.0.1 verison but after updating to 8.0.0, it returns generic Objects instead of my specific types;