@ObservationIgnored weak var - must be initialised?

I understand that @Observable currently requires all properties to be initialised. However I am surprised that opting out of observation does not work:

@Observable class Assessment {
    var name = ""
    var processes: [Process] = []
}

@Observable class Process {
    var name = ""
    @ObservationIgnored weak var parent: Assessment?
}

The error message is Return from initializer without initializing all stored properties from the Process class. Any suggestions?

Post not yet marked as solved Up vote post of ramnefors Down vote post of ramnefors
751 views