I have an API in which the value of a key can come as int, string or dictionary.
I was using
object keyword as the type for the value and it worked fine.
But once I implemented
Realm compiler gave me an error.
Error: Fody/RealmWeaver: MyClass.Value is a 'System.Object' which is not yet supported.
Ok fine so
object is not supported by
Realm. Then I tried using
dynamic keyword as the type. I got the following error.
Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create' (CS0656)
Googling this led me to this comment which says dynamic keyword is not allowed on iOS because JIT compilation is not allowed.
So what to do in this situation?