Closed nonsensecreativity closed 6 years ago
Thanks for reporting. Turns out the ObjectBox code generator did only add missing imports if there was a ToOne
, but not if there is only a ToMany
. This should be fixed with the next release of the plugin. -ut
Whats new with this issue? It's real problem.
We'll release 1.2 shortly.
Do you have an ETA?
Please check the just uploaded version 1.2.0-RC to confirm its working now.
What do you mean? How can i use the RC version?
Use "1.2.0-RC" as a version in your Gradle script.
Thanks
Im not sure its perfectly fixed.
MyObjectBox.builder().androidContext(this).name("OB").build();
The imports are from:
contacts.model.objectbox.MyObjectBox
But who choose that package? In the jenkins its compile it to defferent package
Issue Basics
Code to reproduce the bug
Logs & stackstraces
Misc
Did you find any workarounds to prevent the issue? Yes, put every file in the same package. I try to separate some files into specific domain package due to having lot of entities