There are multiple ways of saving data when using MongoDB Atlas and App services from a SwiftUI app -
- using " realm.write"
- using wrapped value of an " @ObservedRealmObject"
- direct to Atlas - collection.insert
which is the right way and are there any differences among these methods?