Support of multiple partition keys
You could actually increase the awesomeness of MongoRealm, when you support multiple partition keys on one object.
Example:
We have a collection of customers in MongoDB, our App is showing the customer information to the users, but only for those users, that are "allowed" to see the customers. So the customer object has a partition key holding the userName it is assigned to:
customer { _id: "12345", partition: "bob", name: "MongoDB Inc."}
customer { _id: "12346", partition: "alice", name: "Microsoft"}
now we want, that alice also sees the customer "MongoDB Inc." in the App.
The solution could look something like that:
customer { _id: "12345", partition: ["bob","alice"], name: "MongoDB Inc."}
customer { _id: "12346", partition: "alice", name: "Microsoft"}
So that object with id "12345" will be distributed in the realm for alice and also in the realm for bob. MongoRealm will take care of all the nifty synchronization stuff.