Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable CRUD Dtos generation (only Entities class-generation) #42

Open
davmik2601 opened this issue Jun 26, 2024 · 1 comment
Open

Disable CRUD Dtos generation (only Entities class-generation) #42

davmik2601 opened this issue Jun 26, 2024 · 1 comment

Comments

@davmik2601
Copy link

Dear @Brakebein Team, I see, we havn't any option for disabling CRUD DTOs creation. I want to use only Entities (Models) classes generation, not need to have DTOs, because I already manually created my CRUD dtos. Will be great to have option for disabling CRUD generation.

@Brakebein
Copy link
Owner

I have added a new config to only create specific file types: generateFileTypes = "all"

With following options:

  • all: generate both DTO and Entity files (default)
  • dto: generate only DTO files
  • entity: generate only Entity files (not possible in combination with complex types)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants