Closed etoledom closed 4 years ago
@astralbodies - could I bug you with a quick look at this? Thanks!
This is super good – thanks for tackling it @etoledom!!
One test case I'd like to propose – does this all work correctly if you:
1) Create a tracks event with the code currently in develop
.
2) Switch to this branch
3) Try to read and transmit it?
I'd looked at this issue before and couldn't find any documentation as to whether NSSecureUnarchiveFromData
is backward-compatible with existing data. If it's not, I worry it might cause a crash-on-startup bug either when it tries to initialize the Core Data store or when it attempts to read the record into the TracksEvent
object.
It's hopefully nothing, but this had been in the back of my head for a while, so now that you've fixed it, just wanted to ensure this wouldn't be an issue :)
Thank you @jkmassel for the extra test case. This is what I have tried:
develop
.After performing this test, everything seems to behave as expected 👍
Thanks for indulging my worry @etoledom!!
@etoledom I really apologize for the delay on this review, I will have it to you by tomorrow!
The warning reads as:
I have followed the proposed solution, using
NSSecureUnarchiveFromData
as the transformer name.To test: