Hi! I don't see the Github repo linked in the description. Any chance you can send me that link? I am having issues with my SwiftData code using Codable structs
Hey this is a known issue that I cover in a different video, and isn't the purpose of this video either. This isn't supported in SwiftData instead you have to use the raw value of the enum and and your properties data type in your model must be the same and not your enum type
Hi! I don't see the Github repo linked in the description. Any chance you can send me that link? I am having issues with my SwiftData code using Codable structs
Great vidéo as always. I would live to se a vidéo on saving optionset and measurement unit in swiftdata.
Thanks for the idea!
Another warning: It looks like you can't filter or sort enums in SwiftData.
Hey this is a known issue that I cover in a different video, and isn't the purpose of this video either. This isn't supported in SwiftData instead you have to use the raw value of the enum and and your properties data type in your model must be the same and not your enum type
@@tundsdev Thanks! Yes this really seems to be the only solution as of today. I hope they improve on that next year.
Thank you very much for your work. Could you please make the recource available?
ahaha. that's the start
Great video, Thanks
Glad you liked it!