SwiftData can infer relationships automatically, but explicit @Relationship save...

@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. hackingwithswift.com/quick-sta