Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hmendezm opened this issue Aug 15, 2019 · 1 comment
Open

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

hmendezm opened this issue Aug 15, 2019 · 1 comment

Comments

@hmendezm
Copy link

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
Copy link

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants