feat: enhance DTO mock generation with dynamic import paths and mock value checks

This commit is contained in:
2026-03-27 15:40:33 +01:00
parent e0446d4939
commit 16ef1ce3e3
3 changed files with 20 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
{{#models}}
{{#model}}
{{#mockImports}}
import { mock{{classname}}Dto } from './{{classFilename}}.dto.mock';
import { mock{{classname}}Dto } from '{{{importPath}}}';
{{/mockImports}}
import { {{classname}}Dto } from './{{classFilename}}.dto';