Realm’s #SwiftUI integration gives you access to a "quick write" syntax - use the $ operator to implicitly open a write transaction and edit a persisted object's properties.
If you get a message similar to "Cannot assign through dynamic lookup property: '$variable’ is immutable” - you need to access the wrappedValue of the thing.
In this code, I've got a `pullRequest` @ObservedRealmObject, and I'm updating the `hasUpdates` bool to false when a view appears. Works like a charm!