Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Checking type with DynamicRealm's RealmSchema #1883
Previously I'm using Table to check the type of the column now I'm trying to migrate to DynamicRealm because direct access to Table will be deprecated soon.
I think I can get the name of the field with using
But how to get the field types?
I believe we left it out intentionally in
Note that the information is available in
I am not totally against adding it to
Hi @cmelchior currently I'm trying to create a phone-side Realm browser like @beeender said. I want to use Reflection as little as possible that's why I'm trying to access the Field type so I can get the data from DynamicRealmObject.
From what I understand I can only get the data with
but if I don't know what's the type of the field how can I determine which function should I call?