angular-architects / nx-ddd-plugin

Nx plugin for structuring a monorepo with domains and layers
313 stars 56 forks source link

ng g @angular-architects/ddd:domain IAM generates wrong import module #58

Open rip3rs opened 3 years ago

rip3rs commented 3 years ago

ng g @angular-architects/ddd:domain IAM

Generates wrong naming: export class IamDomainModule {}

This will generate the wrong naming within the feature:

@NgModule({
  imports: [CommonModule, IAMDomainModule], // <-- should be IamDomainModule
  declarations: [UserComponent],
  exports: [UserComponent],
})
export class IamFeatureUserModule {}

I suppose this is working as intended. I would have assumed that the naming would be as is on the creation of the domain.

manfredsteyer commented 3 years ago

Thanks for this. I can confirm this issue.