Post

Replies

Boosts

Views

Activity

Reply to Inserting a Model entity with a relationship results in a runtime error.
@Purkylin_glow making var optional doesn't work on Xcode 15 Beta 7. That's my case that worked before: @Model final class Category { ... @Relationship(deleteRule: .cascade) var incomes: [Income] ... } @Model final class Income { ... @Relationship(inverse: \Category.incomes) var category: Category? ... }
Replies
Boosts
Views
Activity
Aug ’23