Hello … I love the generation capability from Xcode. I generated the Swift models using that, ran into the problem. Tried a few things manually, went back to generated fresh SwiftData models. I also have generated the Core Data classes, and compared that manually to the SwiftData versions.
Topic:
SwiftData
SubTopic:
SwiftData Q&A