You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually that should be reasonable to do, a write to the address would just push down to the individual attributes.
The reflection to destructure the structs in the macro might be fishy though. I guess it should work, if the structure is within the class itself.
Looks like SwiftData flattens Codable structure into own table columns vs storing them as JSON.
Presumably to be able to run queries against such.
E.g.
Even though the property is just one in the model, I think it ends up in separate columns in SQLite. Presumably to allow this:
Which seems valuable?
Not sure how we would hook that up in Core Data yet, I'd guess the Entity would need to get attributes for those.
The text was updated successfully, but these errors were encountered: