mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Misleading exception message for missing managed object subclasses #115
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @deanWombourne on GitHub (Dec 23, 2016).
If corestore can't find the managed object subclass, an exception is thrown:
This should really be:
Swift.Stringis the class of the name of the missing class - the missing class is reallyTaskTimer.ClientEntity@JohnEstropia commented on GitHub (Dec 26, 2016):
Thanks. That is weird. Must be a Swift 3 side effect.
@deanWombourne commented on GitHub (Dec 29, 2016):
Yes, I've had odd things like this moving to swift 3 as well :/ I think it's using the generic version of
cs_typeNameinstead of theString?one when you pass in aString, but I can't say why, or predict when it happens yet. I guess practice makes perfect :)@JohnEstropia commented on GitHub (Dec 31, 2016):
@deanWombourne I think your PR should resolve this. I see you reopened the issue, have you found cases where the wrong overload still gets called?
@deanWombourne commented on GitHub (Jan 2, 2017):
Nope - I pressed the wrong button submitting my last comment and closed it by mistake, so I reopened it. I wasn't sure when yo closed issues - fixed in master vs. released so I left it open for you to close when you want :) It's definitely fixed for me.