SwiftData can infer relationships automatically, but explicit @Relationship save...
Paul Hudson @twostraws@mastodon.social
SwiftData can infer relationships automatically, but explicit @Relationship saves headaches. My advice: always spell out your relationships rather than relying on inference. https://www.hackingwithswift.com/quick-start/swiftdata/inferred-vs-explicit-relationships