Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide ability to create new RealmConfiguration.Builder from an existing realm configuration #3382

Open
ZakTaccardi opened this issue Sep 2, 2016 · 1 comment
Labels
First-Good-Issue First Good Issue - Relatively easy issue for new contributers O-Community T-Enhancement

Comments

@ZakTaccardi
Copy link

ZakTaccardi commented Sep 2, 2016

Goal

I want to be able to take my production realm instance and recreate it, but change the file name. Useful for testing. Yes, this is doable without violating DRY (do not repeat yourself), but requires unnecessary manual effort.

API proposal

realm.getConfiguration.newBuilder() returns a new builder from the existing configuration, similar Moshi's implementation

@cmelchior cmelchior added T-Enhancement S:P2 Backlog First-Good-Issue First Good Issue - Relatively easy issue for new contributers labels Sep 2, 2016
@cmelchior
Copy link
Contributor

Yes, I can see this being useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
First-Good-Issue First Good Issue - Relatively easy issue for new contributers O-Community T-Enhancement
Projects
None yet
Development

No branches or pull requests

4 participants