Preventing null insertion

I have a Color object defined like this:

    class Color: Object {
    @Persisted(primaryKey: true ) var _id: ObjectId
    @Persisted var partition = ""
    @Persisted var  last_accessed: Date? = nil
    @Persisted var  value = ""
    @Persisted var enabled = **true**
    }

But when synched I got this into Atlas:

    _id:61272c5fc99324dbbf5de609
    partition:"612698bd8423d2c67d2461cb"
    enabled:true
    last_accessed:null
    value:"Cyan"
    last_accessed could be nil, but when synced 

Is there a way to prevent last_accessed to be synched when equal to nil?

Hi @Thierry_Bucco

All properties in your model that are defined with @Persisted will be synced regardless of its value. So it is not possible to cherry pick out properties with a nil value from Sync.