What is the difference between @Persisted vs @objc dynamic var
I noticed that when I use @Persisted on a list, object appended to it are not added on my realm and I have to add it manually.
I am suspecting that this could be related to id.
@objc dynamic var _id = ObjectId.generate()
@Persisted(primaryKey: true ) var _id: ObjectId = ObjectId.generate()
What do you think?