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

SwiftyUserDefaults no longer compiles in 13.3 b2 #288

Open
chrisvanbuskirk opened this issue Feb 8, 2022 · 5 comments
Open

SwiftyUserDefaults no longer compiles in 13.3 b2 #288

chrisvanbuskirk opened this issue Feb 8, 2022 · 5 comments

Comments

@chrisvanbuskirk
Copy link

13.3 b2 is throwing these errors now.

Type 'CustomQuestionType' does not conform to protocol 'DefaultsSerializable'

Subscript 'subscript(dynamicMember:)' requires the types '[CustomQuestionType]' and 'Array<CustomQuestionType>.Bridge.T' be equivalent

Cannot convert value of type '[Any]' to expected argument type 'Array<CustomQuestionType>.Bridge.T'

@chrisvanbuskirk chrisvanbuskirk changed the title SwiftUserDefaults no longer compiles in 13.3 b2 SwiftyUserDefaults no longer compiles in 13.3 b2 Feb 8, 2022
@apps4everyone
Copy link

Same for Beta 1. Can confirm DefaultsSerializable is not compiling for eg. an enum JZHourGridDivision in https://github.com/zjfjack/JZCalendarWeekView.

extension JZHourGridDivision: DefaultsSerializable {}
--> error: Type 'JZHourGridDivision' does not conform to protocol 'DefaultsSerializable'

@apps4everyone
Copy link

look's like a duplicate of #285

@apps4everyone
Copy link

same with RC, maybe a fix is needed here!

@ricardopaiva
Copy link

Please check this:
#285 (comment)

@kaplanitay
Copy link

Is there a fix on the way?

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

4 participants