realm-java
realm-java copied to clipboard
realm getSchema incorrect return type
realm.getSchema() function return object from type StandardRealmSchema this type is object have packcge only access so it is impossible to access his methods, the only way is to convert this object to (RealmSchema), i think it is mistake the return type need to be RealmSchema and not StandardRealmSchema
realm version in use :3.1.0
Yep that does sound like a bug @bmeike
It's a mistake. I'll make a PR to fix this. Sorry for inconvenience.
We need more fix.
https://github.com/realm/realm-java/blob/releases/realm/realm-library/src/main/java/io/realm/BaseRealm.java#L467