I managed to get my project to build, i had to change to things:
Change from: @Relationship(.cascade, inverse: \VesselLocation.anchorLocation) to @Relationship(deleteRule: .cascade, inverse: \VesselLocation.anchorLocation)
Documentation of the new deleteRule: https://developer.apple.com/documentation/swiftdata/schema/relationship/deleterule-swift.enum
And i had to remove any default values from my model attributes. I had this:
@Model
final class Foo {
var bar: Bool = true
But that fails in Beta 6, but if you leave it empty it works:
@Model
final class Foo {
var bar: Bool
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: