DBFlow icon indicating copy to clipboard operation
DBFlow copied to clipboard

TypeConverters within a Library Module

Open jguerinet opened this issue 8 years ago • 1 comments

DBFlow Version:4.0.2 Issue Kind (Bug, Question, Feature): Question/Feature Description: Is it possible to have TypeConverters within a library module? In the section about library modules within your (very thorough) documentation it doesn't seem like that topic is covered. I have a couple of TypeConverters that I use across multiple projects that I would like to include within my library module instead of having a copy of them in each of the individual projects.

Thanks!

jguerinet avatar Jun 03 '17 22:06 jguerinet

not currently an easy way, but good idea. I can add a typeConverters field to the @Database annnotation to allow you specify which ones are included. or I might allow you to define them with annotations and then just load the empty database holder into the FlowManager via. FlowManager.loadDatabaseHolder().

agrosner avatar Jun 08 '17 20:06 agrosner