surfstudio/SurfGen

Imports for model

MbIXjkee opened this issue · 0 comments

The generated model does not contain any imports of the classes used. For DTOs, this can be resolved by creating all DTOs in one place and using a custom file that contains the import of all the DTOs created. But that's bad for a business model. It would be helpful to add imports of all other generated models that are used in the model class.
Perhaps for Dart this can be achieved using the Dart Analysis Server.