Evan K. Stone<p>I didn’t do much work with <a href="https://iosdev.space/tags/Xcode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Xcode</span></a> 15 Beta 5 (thankfully), but it seems that Apple has replaced the `cascade` <a href="https://iosdev.space/tags/SwiftData" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftData</span></a> PropertyOption with `preserveValueOnDeletion`(the opposite of cascade).</p><p>So this means that the default behavior now is a cascading delete, which is what they should have chosen from the beginning. </p><p>However, I feel bad for anyone who watches the <a href="https://iosdev.space/tags/WWDC23" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WWDC23</span></a> videos later, only to find that "cascade" doesn't exist.</p><p><a href="https://iosdev.space/tags/iOSDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOSDev</span></a> <a href="https://iosdev.space/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://iosdev.space/tags/Xcode15" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Xcode15</span></a> </p><p><a href="https://developer.apple.com/documentation/swiftdata/propertyoptions" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.apple.com/documentat</span><span class="invisible">ion/swiftdata/propertyoptions</span></a></p>