{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/1883","labels_url":"https://api.github.com/repos/realm/realm-java/issues/1883/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/1883/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/1883/events","html_url":"https://github.com/realm/realm-java/issues/1883","id":120321166,"number":1883,"title":"Checking type with DynamicRealm's RealmSchema","user":{"login":"NikoYuwono","id":1751188,"avatar_url":"https://avatars.githubusercontent.com/u/1751188?v=3","gravatar_id":"","url":"https://api.github.com/users/NikoYuwono","html_url":"https://github.com/NikoYuwono","followers_url":"https://api.github.com/users/NikoYuwono/followers","following_url":"https://api.github.com/users/NikoYuwono/following{/other_user}","gists_url":"https://api.github.com/users/NikoYuwono/gists{/gist_id}","starred_url":"https://api.github.com/users/NikoYuwono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikoYuwono/subscriptions","organizations_url":"https://api.github.com/users/NikoYuwono/orgs","repos_url":"https://api.github.com/users/NikoYuwono/repos","events_url":"https://api.github.com/users/NikoYuwono/events{/privacy}","received_events_url":"https://api.github.com/users/NikoYuwono/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-java/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/realm/realm-java/labels/P1","name":"P1","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-04T02:54:59Z","updated_at":"2015-12-04T03:13:42Z","closed_at":null,"body":"Hello, \r\n\r\nPreviously 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.](https://github.com/realm/realm-java/issues/1876)\r\n\r\nI think I can get the name of the field with using \r\n\r\n```\r\nRealmObjectSchema realmObjectSchema = dynamicRealm.getSchema().get(selectedTableName);\r\nSet<String> fieldNames = realmObjectSchema.getFieldNames();\r\n```\r\n\r\nBut how to get the field types?\r\n\r\nThank you!\r\n"},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/161860511","html_url":"https://github.com/realm/realm-java/issues/1883#issuecomment-161860511","issue_url":"https://api.github.com/repos/realm/realm-java/issues/1883","id":161860511,"user":{"login":"NikoYuwono","id":1751188,"avatar_url":"https://avatars.githubusercontent.com/u/1751188?v=3","gravatar_id":"","url":"https://api.github.com/users/NikoYuwono","html_url":"https://github.com/NikoYuwono","followers_url":"https://api.github.com/users/NikoYuwono/followers","following_url":"https://api.github.com/users/NikoYuwono/following{/other_user}","gists_url":"https://api.github.com/users/NikoYuwono/gists{/gist_id}","starred_url":"https://api.github.com/users/NikoYuwono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikoYuwono/subscriptions","organizations_url":"https://api.github.com/users/NikoYuwono/orgs","repos_url":"https://api.github.com/users/NikoYuwono/repos","events_url":"https://api.github.com/users/NikoYuwono/events{/privacy}","received_events_url":"https://api.github.com/users/NikoYuwono/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T03:13:42Z","updated_at":"2015-12-04T03:13:42Z","body":"Thank you! will wait for the implementation before migrating to DynamicRealm then!"}}