Reading List
Using Codable and Enums in SwiftData Models from Michael Tsai RSS feed.
Using Codable and Enums in SwiftData Models
Fatbobman (Reddit): In SwiftData’s default storage implementation, the method of persisting the people attribute is not by converting data into binary format through encoders such as JSONEncoder and storing it in a single field (similar to Core Data’s Value Transformer). Instead, SwiftData creates separate fields for each attribute of Codable data within the table corresponding […]