Hi there! I’ve just attempted to migrate from Stitch to Realm, under iOS and Swift.
I’m extremely disappointed and frustrated with the process, and also the documentation. There doesn’t seem to be an API guide that matches that of Stitch (there is something but it doesn’t even seem to list all the methods a class defines), and much worse, it looks like now I have to battle all the complexity, quirks, limitations, restrictions, confusing terminology, etc. of Realm, when all I want is to be able to connect to my Atlas cluster, my database and collection, and insert some documents that I defined as Swift structs.
Do I understand correctly that now I have to re-implement my simple and lightweight Swift structs as subclasses of the ‘Object’ type, something bridged from Obj-C; define schema (which I really didn’t want since my struct keeps evolving and changing), and add my objects to the default Realm, before I could insert them into a MongoDB collection on Atlas?
And what does “collection” even mean any more, since Realm seems to redefine the term completely?
What if I really, really, really am not interested in Realm, and especially not in Objective-C, and just want to be able to store Swift structs in MongoDB collections? That’s what I signed up for, that’s why I chose this technology, and it seems that now I have to fight some poorly-integrated chimera of a system in order to accomplish the same thing that used to be so much better and easier before.
Please tell me that I’m missing something, and there’s a way to just do what I was able to do before!
Thanks a lot, and all the best,