I’m also confused by the apparent deprecation of query-synced realms, and this is making me wonder whether this is an appropriate platform for my application as I start planning the schema.
Let’s say as you suggest I have a realm for public chats. What if a user gets banned from one public chat? They still have all the data because the realm is fully synced, and it seems like there is no way to control different levels of permission by user, so I guess they probably have full write privileges too. So every chat needs to be in a different realm. Oh and any admin or otherwise privileged data needs to be in yet another realm, what about private chats, and anything else with different permission levels. None of the data can be linked easily, and I need to manage figuring out which realm all the data is in. That’s a bit of a silly example, however the idea that in order to separate access control to different data, I need to separate the data into essentially different database, seems really poor.
Without query based sync and object level permissions, I don’t understand how Realm can be used for any complex application, where view and edit privileges are not so simple.
Even your team example in the “App Architecture With Full Sync” article seems contrived. Isn’t there some data that everyone on the team shouldn’t see? Can’t some people on the team edit some data and others edit other data?
I’m really struggling to understand how Realm with Full Sync doesn’t make my life even harder than API based apps.
Am I missing something? Should I just use Firestore, despite its query and search limiitations?