-
Notifications
You must be signed in to change notification settings - Fork 6
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
Usage Tagged (safe) types in CoreData #29
Comments
Can't look into that right away, but RawValue properties are not supposed to be treated as |
Tagged supports both protocols RawRepresentable and Codable |
Same troubles when trying usage enum types
Crash
|
Hm, weird. That is pretty much the same I'm doing in the sample app. Though maybe not Codable, that might interfere, need to check. |
I'm some change
|
Should fix issue #29 This was missing overloads for RawRepresentable & Codable, not sure why this didn't produce an ambiguity warning.
I pushed a fix for Codable+RawRepresentable properties to develop, but I didn't try the Tagged thing. |
Also did a quick test w/ Tagged, seems to work. |
@helje5 Have new error
in |
With the 'develop' branch? |
yes |
Can you produce a mini-project that reproduces that? All tests run through and I tried w/ the demo app w/ success. |
Hi @helje5
Thank you for quick solve previous issue
I use Tagged
Tagged structure also have Codable protocol realisation like RawValue type
Example
When compilation as result we can see
It's strange, because ManagedModels use CodableBox for wrap Codable types. How we can solve it issue in current realisation?
The text was updated successfully, but these errors were encountered: