Ios swift – SwiftData Error with Relationships between three models
I am trying to get SwiftData to work with 3 models that are all interconnected. The simplified models and an example View that throws the error are attached below. Creating a Company and an aircraft works fine, however, when trying…