now, i have a realm model like this:
class Task: Object, Identifiable {
@Persisted(primaryKey: true) var _id: ObjectId
@Persisted var title: String = ""
@Persisted var isCompleted: Bool = false
@Persisted var priority = Priority.medium
@Persisted var notes: List<Note> = List<Note>()
}
The data corresponding to these attributes will be stored locally on the client, and if I enable Device sync, these data will also be synchronized to the cloud. My question is, how to control the synchronization of some fields, for example, I want the data in the “priority” field to be saved only locally, not to be synchronized to the cloud, how should I do it? Thank you~