vicpinm / Kotlin-Realm-Extensions

Kotlin extensions to simplify Realm API.
Apache License 2.0
535 stars 53 forks source link

#29 support for RealmModule annotation #30

Closed magillus closed 6 years ago

magillus commented 6 years ago

29 support for Realm Module annotation

There is big question what to do if the allClasses on module is added. I suggest that the configuration passed to initModule would be set as default replacing all defaults. - thoughts @vicpinm ?

magillus commented 6 years ago

I miss understood #22 and mixed in this PR, only support for separate configurations per class. All queries still are done to User class which extends RealmObject

vicpinm commented 6 years ago

Hi @magillus, I will try to look at your PRs in the few days. I have doubts about the new dependency, because it contains thousands of methods that will increase the method count of this library significatively.

magillus commented 6 years ago

I try to find other way to do it, I imagine AnnotationProcessor would be overkill