I know that we cannot modify isolated properties from outside the actor
However, when the property is a reference type, we can modify the property value of the reference instance.
In this case, if I only modify the attribute value of the reference instance in the following way, can I avoid data races? thanks.
class Settings {
var name:String
}
actor Test {
var settings:Settings
}
let test = Test()
await test.settings.name = "hello"