I am having a similar issue. One thing with your sample code there. If you create the model, insert it into the context, then add the relationships, the relationship will stay. so
let newEmployee = Employee()
modelContext.insert(newEmployee)
newEmloyee.company = companies.first
try! modelContext.save()
But even with this change the view is not updating
Post
Replies
Boosts
Views
Activity
Also happening to me
Oops. I was actually on Xcode 15 Beta 4. Getting on the latest beta fixed it
This was working on Xcode 15 Beta 4