Closed quarrant closed 2 years ago
FYI: I tried to pass right types through the each related interface, but I'm not sure about return types of serialize/deserialize functions. May be I need to make those more strict....
@codeBelt do you approve this PR?
@quarrant sure approved. Does this need to be a major release 2.0.0
or is it 1.1.0
?
So, I think this feature is awesome, but still small for the 2.0.0
=)
We would need to make it 2.0
if this update breaks existing functionality for people. If this change works like the previous version then 1.1.0
is what I think we should make it since we are at 1.0.6
Yeah, I understand) But these changes support old approach too
Anyway, not important for me. We will increase major version if you want =)
I think we should go with 1.1.0
if there are not breaking changes.
If you are not sure please see again into PR. I added only 1 test for the new functionality and didn't change other tests and it works good.
makeSerializableProperties
(https://github.com/quarrant/mobx-persist-store/pull/88/files#diff-9b6ae0b42cdb023ac583e5e708e01559e766f2388fc8c808c7ca75048bf3ac05R29) transforms string properties (old way) to SerializableProperty (new way)
sorry, really busy with work but it all looks good.
no worries about it, I'm toooooo... Thank you for your comments!
@codeBelt Look at this PR and tell me your opinion about serialize/deserialize. Tests are broken here, it's OK! =)