SwiftData crashes at init
Below is the minimum code that causes the crash.
What I want to achieve: pass a default AchievementB to the view and then change (based on user input) and insert into achievements.
Below is the minimum code that causes the crash.
What I want to achieve: pass a default AchievementB to the view and then change (based on user input) and insert into achievements.