SwiftData doesn't like enums at the moment, this video shows a workaround: https://www.youtube.com/watch?v=yOqGva62nzg
Basically, store the enum as a string, and compute the enum at runtime.
Is this bug reported? I'd consider it a showstopper.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: