Reposting as I didn’t get a reply on the last post.
I want to store a Dictionary in my Custom User Data object for realm sync, something like the following:
[BsonDiscriminator("app_user_data")]
public class AppUserData
{
[BsonElement("user_permissions")]
public Dictionary<string, UserPermissionObject> UserPermissions { get; }
}
Where UserPermissionObject
is just a regular object with a couple of properties.
Is this possible, and if so how would it be implemented in the mongoDb side and how could I insert a dictionary into an entry programatically (i.e. using a .NET application or the Realm UI) if required?