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

types.Date cannot be rehydrated #233

Closed
KatSick opened this issue Jul 5, 2017 · 3 comments
Closed

types.Date cannot be rehydrated #233

KatSick opened this issue Jul 5, 2017 · 3 comments

Comments

@KatSick
Copy link

KatSick commented Jul 5, 2017

TL;DR https://codesandbox.io/s/Nw18kKn2

Issue is next. I create types.Date in my model. perform getSnaphot and i see that it is unix timestamp. i save this model to storage, retrieve it, and try to apply.

Than i got an error that unix timestamp cannot be assigned to types.Date.

Why it happens ?

@mattiamanzati
Copy link
Contributor

Uh, you're right, that's definetely a bug not covered by tests! Gonna fix it and release 0.9.1 :)

@KatSick
Copy link
Author

KatSick commented Jul 5, 2017

@mattiamanzati looks like it is still not fixed. https://codesandbox.io/s/qY5xpQn1y

@mattiamanzati
Copy link
Contributor

Uhm, sure that is'nt any cache issue? Does not throws anymore for me :) https://codesandbox.io/s/Jqk7y8jyD

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