angular-architects / nx-ddd-plugin

Nx plugin for structuring a monorepo with domains and layers
308 stars 55 forks source link

Unexpected behavior for "subpath within libs directory" generator option #139

Open jkoervers opened 4 months ago

jkoervers commented 4 months ago

When I use Nx Console interface to generate a feature using @angular-architects/ddd I get the option to enter a subpath within the libs directory. When I enter ui/ I would expect, that the resulting path would be libs/ui/domain-name/feature-name. But I get libs/domain-name/ui/feature-name. See image below.

image

In my project we have different subfolders under libs and I need the new feature to be inside libs/ui/app-configuration. Am I understanding the option subpath within libs directory wrong or is this a bug? How can I create a feature using @angular-architects/ddd within a subfolder of the libs folder?