Multi time generate code issue


I am facing one issue on multi time generate code.

For example, first time, I generate code on one table, and secod time generate code on another table, it seems whatever option on 'override the existing file' does not works.

  1. if override the existing file, the exist service file in services folder will be overrided, then the first time generated code does not works anymore.
  2. if does not override the existing file, the second time generated codes will not works.

Anything I was not in the right way?

Hi @Jeffers,

You should pick all tables you want to generate code for every time. If you don't check overwrite existing files then that's what's going to happen - no new code will be generated. Think of code generation as if you do it for the first time every time - that's basically what happens under the hood.

We plan to introduce a new feature that will automatically select entities (tables, views, etc.) that you have already generated code for so you don't have to check them again.