realm / realm-dotnet

Realm is a mobile database: a replacement for SQLite & ORMs
https://realm.io
Apache License 2.0
1.25k stars 165 forks source link

Make the Realm class implement an interface so it can be mocked #537

Open kristiandupont opened 8 years ago

AndyDentFree commented 8 years ago

I don't think we need an interface so it can be mocked, we just need a mocking assembly declaring the same objects. If we have other reasons for wanting an interface, fine, but I don't think mocking alone is enough to justify it.

AndyDentFree commented 8 years ago

This is effectively a duplicate of #529

kristiandupont commented 8 years ago

Reopened as it turned out that it's actually a different thing. This is about adding an interface to the Realm class, not RealmObject.

joseprl89 commented 7 years ago

Interested on this

heytherewill commented 7 years ago

Is this on the Roadmap? Can I offer some help to implement this? :)

nirinchev commented 7 years ago

We haven't prioritized this, but PR's are always welcome :)