You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible that Generator generat binding code to different file according Entity file instead of only one file "objectbox.g.dart"
I have many entity files in my project. I would like to generate binding code to different file according Entity file. lIke below example
generate "bp_status_dto.g.dart" for entity file "bp_status_dto.dart", generate "company_info_dto.g.dart" for entity file " company_info_dto.dart"
Thanks for your reply. I just think if I have many entities, objectbox.g.dart will get huge, it is a little bit inconvinent to read these code. the generated code from the sceenshot in my first post is from package "json_serializable", I prefer to its way.
greenrobot-team
changed the title
Is it possible that Generator generat binding code to different file according Entity file ?
Generate separate code file for each entity
Apr 18, 2023
Is it possible that Generator generat binding code to different file according Entity file instead of only one file "objectbox.g.dart"
I have many entity files in my project. I would like to generate binding code to different file according Entity file. lIke below example
generate "bp_status_dto.g.dart" for entity file "bp_status_dto.dart", generate "company_info_dto.g.dart" for entity file " company_info_dto.dart"
Basic info:
ObjectBox and ObjectBox generator version: 2.0.0
Flutter/Dart SDK: 3.0.0
The text was updated successfully, but these errors were encountered: