fix: add errors/exceptions folders to DDD non-aggregate list (v0.7.2)

This commit is contained in:
imfozilbek
2025-11-25 00:43:41 +05:00
parent 8dd445995d
commit 3cd97c6197
8 changed files with 3317 additions and 1 deletions

View File

@@ -54,6 +54,8 @@ export class AggregateBoundaryDetector implements IAggregateBoundaryDetector {
DDD_FOLDER_NAMES.REPOSITORIES,
DDD_FOLDER_NAMES.SERVICES,
DDD_FOLDER_NAMES.SPECIFICATIONS,
DDD_FOLDER_NAMES.ERRORS,
DDD_FOLDER_NAMES.EXCEPTIONS,
])
private readonly nonAggregateFolderNames = new Set<string>([
DDD_FOLDER_NAMES.VALUE_OBJECTS,
@@ -69,6 +71,8 @@ export class AggregateBoundaryDetector implements IAggregateBoundaryDetector {
DDD_FOLDER_NAMES.FACTORIES,
DDD_FOLDER_NAMES.PORTS,
DDD_FOLDER_NAMES.INTERFACES,
DDD_FOLDER_NAMES.ERRORS,
DDD_FOLDER_NAMES.EXCEPTIONS,
])
/**