Zhuinden / realm-monarchy

[ACTIVE-ISH] A wrapper over Realm which exposes it as LiveData, managing Realm lifecycle internally.
Apache License 2.0
88 stars 11 forks source link

Ability to customize depth of realm.copyFromRealm() call #11

Closed Zhuinden closed 4 years ago

Zhuinden commented 6 years ago

In PagedResults and CopiedResults, realm.copyFromRealm() is used, but it supplies -1 as default depth (which is max).

In some very deep schemas, it might be advisable to only detach 2-3 level depth.

Zhuinden commented 4 years ago

Done in https://github.com/Zhuinden/realm-monarchy/commit/5884620781ec954214f3aa277f799284d5c115ed

About 2.5 years later than it should have happened 😩